diff --git a/Cunkebao/src/store/module/websocket.ts b/Cunkebao/src/store/module/websocket.ts index 928584fd..32b42897 100644 --- a/Cunkebao/src/store/module/websocket.ts +++ b/Cunkebao/src/store/module/websocket.ts @@ -296,6 +296,11 @@ 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" });