购物车reload标识

This commit is contained in:
张松
2025-11-28 15:59:10 +08:00
parent 843239968c
commit 0b6a123945

View File

@@ -81,10 +81,6 @@ class Base extends Model
// 发送广播并将 self::$client_id 排除在外
// 排除收银机重复的client_id
$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]);
// 去重