This commit is contained in:
parent
0bd954993d
commit
e8de891536
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue