This commit is contained in:
parent
451be93f39
commit
0bd954993d
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue