From cfa8182789381e00cc76b38063f8d73f949dbbc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B6=85=E7=BA=A7=E8=80=81=E7=99=BD=E5=85=94?= Date: Mon, 1 Sep 2025 17:36:03 +0800 Subject: [PATCH] =?UTF-8?q?refactor(websocket):=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E5=BE=AE=E4=BF=A1=E8=B4=A6=E5=8F=B7=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E7=9A=84=E5=86=97=E4=BD=99=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除在WebSocket连接成功后发送的获取微信账号状态的命令,该命令在当前场景下不再需要 --- Cunkebao/src/store/module/websocket.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Cunkebao/src/store/module/websocket.ts b/Cunkebao/src/store/module/websocket.ts index 32b42897..928584fd 100644 --- a/Cunkebao/src/store/module/websocket.ts +++ b/Cunkebao/src/store/module/websocket.ts @@ -296,11 +296,6 @@ export const useWebSocketStore = createPersistStore( client: currentState.config?.client || "kefu-client", seq: +new Date(), }); - //获取UserId - currentState.sendCommand("CmdRequestWechatAccountsAliveStatus", { - wechatAccountIds: ["300745", "4880930", "32686452"], - seq: +new Date(), - }); } Toast.show({ content: "WebSocket连接成功", position: "top" });