限时折扣相关

This commit is contained in:
2025-12-22 13:41:50 +08:00
parent 8545b23065
commit 45b02f7955

View File

@@ -130,6 +130,7 @@ class Events
// 限时折扣修改
if($message['operate_type'] == 'time_discount_save') {
Base::add_log_file($m, $type);
// 桌码
if(empty($message['table_code']) || empty($message['shop_id'])) {
Gateway::sendToClient($client_id, json_encode(['msg' => '桌码或shop_id不能为空']));
@@ -163,6 +164,7 @@ class Events
Gateway::sendToClient($client_id, json_encode($snd_data));
return;
}elseif ($message['operate_type'] == 'time_discount_get') {
Base::add_log_file($m, $type);
// 桌码
if(empty($message['table_code']) || empty($message['shop_id'])) {
Gateway::sendToClient($client_id, json_encode(['msg' => '桌码或shop_id不能为空']));