diff --git a/extend/workermans/model/Base.php b/extend/workermans/model/Base.php index 1e329c4..e9354e2 100644 --- a/extend/workermans/model/Base.php +++ b/extend/workermans/model/Base.php @@ -74,7 +74,8 @@ class Base extends Model if ($by_shop_id) { $shopGroup = self::get_shopping_save_uid(self::$shop_id, 'all'); - Log::info('群发213123->>>>>'.self::$client_id); + Log::info('群发自己id->>>>>'.self::$client_id); + Log::info('群发组->>>>>'.$shopGroup); Log::info('群发数据->>>>>'.json_encode(Gateway::getClientSessionsByGroup($shopGroup))); diff --git a/plugin/webman/gateway/Events.php b/plugin/webman/gateway/Events.php index b0501e9..9b42984 100644 --- a/plugin/webman/gateway/Events.php +++ b/plugin/webman/gateway/Events.php @@ -202,7 +202,8 @@ class Events // 店铺组 $shopGroup = Base::get_shopping_save_uid($message['shop_id'], 'all'); - Log::info('绑定'); + Log::info('绑定自己id->>>>>'.$client_id); + Log::info('群发组->>>>>'.$shopGroup); Gateway::joinGroup($client_id, $shopGroup); Log::info('绑定连接数'. json_encode(Gateway::getClientSessionsByGroup($shopGroup))); // 绑定shopid推送商品更新信息