购物车reload标识
This commit is contained in:
@@ -81,10 +81,6 @@ class Base extends Model
|
|||||||
// 发送广播并将 self::$client_id 排除在外
|
// 发送广播并将 self::$client_id 排除在外
|
||||||
// 排除收银机重复的client_id
|
// 排除收银机重复的client_id
|
||||||
$table_arr = [];
|
$table_arr = [];
|
||||||
if(!empty(self::$table_code) && !empty($data_arr['type']) && $data_arr['type'] == 'shopping') {
|
|
||||||
// 是客户端小程序才排除同桌子的
|
|
||||||
$table_arr = Gateway::getClientIdByUid(self::$table_code);
|
|
||||||
}
|
|
||||||
// 排除自己
|
// 排除自己
|
||||||
$new_client_id = array_merge($table_arr, [self::$client_id]);
|
$new_client_id = array_merge($table_arr, [self::$client_id]);
|
||||||
// 去重
|
// 去重
|
||||||
|
|||||||
Reference in New Issue
Block a user