限时折扣相关
This commit is contained in:
@@ -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不能为空']));
|
||||
|
||||
Reference in New Issue
Block a user