折扣
This commit is contained in:
@@ -136,7 +136,7 @@ class Events
|
|||||||
$arr_time_discount_info = explode(',', $time_discount_info);
|
$arr_time_discount_info = explode(',', $time_discount_info);
|
||||||
if(!in_array($redis_str, $arr_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) . ',');
|
Redis::set('time_discount:info', implode(',', $time_discount_info));
|
||||||
}
|
}
|
||||||
}else {
|
}else {
|
||||||
Redis::set('time_discount:info', $redis_str);
|
Redis::set('time_discount:info', $redis_str);
|
||||||
|
|||||||
Reference in New Issue
Block a user