From 6ea412f876365a0fd711a0da172361fadfc0c361 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=9D=BE?= <8605635+zhang3064194730@user.noreply.gitee.com> Date: Fri, 28 Nov 2025 16:24:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/workermans/model/Base.php | 3 ++- plugin/webman/gateway/Events.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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推送商品更新信息