This commit is contained in:
ASUS 2025-10-22 15:09:31 +08:00
parent 3fc0d6ca97
commit b05ac28325
1 changed files with 2 additions and 1 deletions

View File

@ -126,7 +126,8 @@ class Events
$redis_str = Base::get_shopping_save_uid($message['shop_id'], $message['table_code']) . ':time_discount';
// 限时折扣修改
if($message['operate_type'] == 'time_discount_save') {
if(empty($message)) {
if(empty($message['data'])) {
$res = Redis::del($redis_str);
}else {
$res = Redis::set($redis_str, $message['data']);