This commit is contained in:
ASUS 2025-10-22 16:44:45 +08:00
parent 451be93f39
commit 0bd954993d
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ class Events
if($time_discount_info) {
$arr_time_discount_info = explode(',', $time_discount_info);
if(!in_array($redis_str, $arr_time_discount_info)) {
$time_discount_info = array_merge($arr_time_discount_info, $redis_str);
$time_discount_info = array_merge($arr_time_discount_info, [$redis_str]);
Redis::set('time_discount:info', implode(',', $time_discount_info) . ',');
}
}else {