This commit is contained in:
2025-10-22 16:12:28 +08:00
parent 35b32ee4dc
commit a57399cc50
2 changed files with 4 additions and 5 deletions

View File

@@ -360,7 +360,7 @@ class Base extends Model
{
$table = Redis::get('time_discount:info');
if($table) {
$table_arr = json_decode($table, true);
$table_arr = explode(',', $table);
if(is_array($table_arr)) {
foreach ($table_arr as $k => $v) {
if(!Gateway::getClientCountByGroup(str_replace(':time_discount', '', $v))) {