This commit is contained in:
张松
2025-11-28 16:24:54 +08:00
parent 08604027a7
commit 6ea412f876
2 changed files with 4 additions and 2 deletions

View File

@@ -74,7 +74,8 @@ 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->>>>>'.self::$client_id); Log::info('群发自己id->>>>>'.self::$client_id);
Log::info('群发组->>>>>'.$shopGroup);
Log::info('群发数据->>>>>'.json_encode(Gateway::getClientSessionsByGroup($shopGroup))); Log::info('群发数据->>>>>'.json_encode(Gateway::getClientSessionsByGroup($shopGroup)));

View File

@@ -202,7 +202,8 @@ class Events
// 店铺组 // 店铺组
$shopGroup = Base::get_shopping_save_uid($message['shop_id'], 'all'); $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); Gateway::joinGroup($client_id, $shopGroup);
Log::info('绑定连接数'. json_encode(Gateway::getClientSessionsByGroup($shopGroup))); Log::info('绑定连接数'. json_encode(Gateway::getClientSessionsByGroup($shopGroup)));
// 绑定shopid推送商品更新信息 // 绑定shopid推送商品更新信息