This commit is contained in:
parent
489b915ac0
commit
7b10eb33e4
|
|
@ -364,7 +364,7 @@ class Base extends Model
|
|||
if(is_array($table_arr)) {
|
||||
foreach ($table_arr as $k => $v) {
|
||||
if(!Gateway::getClientCountByGroup(str_replace(':time_discount', '', $v))) {
|
||||
print_r($v . '过期');
|
||||
print_r($v . '过期' ."\r\n");
|
||||
unset($table_arr[$k]);
|
||||
Redis::del($v);
|
||||
}
|
||||
|
|
@ -372,7 +372,7 @@ class Base extends Model
|
|||
Redis::set('time_discount:info', json_encode($table_arr));
|
||||
}else {
|
||||
if(!Gateway::getClientCountByGroup(str_replace(':time_discount', '', $table_arr))) {
|
||||
print_r($table_arr . '过期');
|
||||
print_r($table_arr . '过期' ."\r\n");
|
||||
Redis::del($table_arr);
|
||||
Redis::del('time_discount:info');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue