购物车reload标识
This commit is contained in:
@@ -77,9 +77,6 @@ class Base extends Model
|
|||||||
if ($by_shop_id) {
|
if ($by_shop_id) {
|
||||||
$shopGroup = self::get_shopping_save_uid(self::$shop_id, 'all');
|
$shopGroup = self::get_shopping_save_uid(self::$shop_id, 'all');
|
||||||
Log::info('群发213123->>>>>');
|
Log::info('群发213123->>>>>');
|
||||||
// 如果有在线的 再发
|
|
||||||
if($onl = Gateway::getClientIdCountByGroup($shopGroup)){
|
|
||||||
Log::info('群发->>>>>'.json_encode($params));
|
|
||||||
|
|
||||||
// 发送广播并将 self::$client_id 排除在外
|
// 发送广播并将 self::$client_id 排除在外
|
||||||
// 排除收银机重复的client_id
|
// 排除收银机重复的client_id
|
||||||
@@ -96,7 +93,6 @@ class Base extends Model
|
|||||||
$broadcast_json = json_encode($broadcast_arr);
|
$broadcast_json = json_encode($broadcast_arr);
|
||||||
Gateway::sendToGroup($shopGroup, $broadcast_json, $new_client_id);
|
Gateway::sendToGroup($shopGroup, $broadcast_json, $new_client_id);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if(!$by_shop_id && !empty(self::$shop_id) && !empty($broadcast_arr['data']['table_code'])) {
|
if(!$by_shop_id && !empty(self::$shop_id) && !empty($broadcast_arr['data']['table_code'])) {
|
||||||
if($operate_type == 'init') {
|
if($operate_type == 'init') {
|
||||||
|
|||||||
Reference in New Issue
Block a user