This commit is contained in:
ASUS 2025-10-22 16:46:36 +08:00
parent 0bd954993d
commit e8de891536
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ class Events
$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]);
Redis::set('time_discount:info', implode(',', $time_discount_info) . ',');
Redis::set('time_discount:info', implode(',', $time_discount_info));
}
}else {
Redis::set('time_discount:info', $redis_str);