限时折扣相关
This commit is contained in:
@@ -130,6 +130,7 @@ class Events
|
|||||||
|
|
||||||
// 限时折扣修改
|
// 限时折扣修改
|
||||||
if($message['operate_type'] == 'time_discount_save') {
|
if($message['operate_type'] == 'time_discount_save') {
|
||||||
|
Base::add_log_file($m, $type);
|
||||||
// 桌码
|
// 桌码
|
||||||
if(empty($message['table_code']) || empty($message['shop_id'])) {
|
if(empty($message['table_code']) || empty($message['shop_id'])) {
|
||||||
Gateway::sendToClient($client_id, json_encode(['msg' => '桌码或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));
|
Gateway::sendToClient($client_id, json_encode($snd_data));
|
||||||
return;
|
return;
|
||||||
}elseif ($message['operate_type'] == 'time_discount_get') {
|
}elseif ($message['operate_type'] == 'time_discount_get') {
|
||||||
|
Base::add_log_file($m, $type);
|
||||||
// 桌码
|
// 桌码
|
||||||
if(empty($message['table_code']) || empty($message['shop_id'])) {
|
if(empty($message['table_code']) || empty($message['shop_id'])) {
|
||||||
Gateway::sendToClient($client_id, json_encode(['msg' => '桌码或shop_id不能为空']));
|
Gateway::sendToClient($client_id, json_encode(['msg' => '桌码或shop_id不能为空']));
|
||||||
|
|||||||
Reference in New Issue
Block a user