This commit is contained in:
2025-10-22 15:07:52 +08:00
parent 3c45d268fd
commit 3fc0d6ca97
2 changed files with 5 additions and 13 deletions

View File

@@ -358,7 +358,7 @@ class Base extends Model
public static function savetimediscount()
{
$table = Redis::get('time_discount_info');
$table = Redis::get('time_discount:info');
if($table) {
$table_arr = json_decode($table, true);
foreach ($table_arr as $k => $v) {
@@ -368,7 +368,7 @@ class Base extends Model
Redis::del($v);
}
}
Redis::set('time_discount_info', json_encode($table_arr));
Redis::set('time_discount:info', json_encode($table_arr));
}
}