refactor(websocket): 移除获取微信账号状态的冗余命令
移除在WebSocket连接成功后发送的获取微信账号状态的命令,该命令在当前场景下不再需要
This commit is contained in:
@@ -296,11 +296,6 @@ export const useWebSocketStore = createPersistStore<WebSocketState>(
|
|||||||
client: currentState.config?.client || "kefu-client",
|
client: currentState.config?.client || "kefu-client",
|
||||||
seq: +new Date(),
|
seq: +new Date(),
|
||||||
});
|
});
|
||||||
//获取UserId
|
|
||||||
currentState.sendCommand("CmdRequestWechatAccountsAliveStatus", {
|
|
||||||
wechatAccountIds: ["300745", "4880930", "32686452"],
|
|
||||||
seq: +new Date(),
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Toast.show({ content: "WebSocket连接成功", position: "top" });
|
Toast.show({ content: "WebSocket连接成功", position: "top" });
|
||||||
|
|||||||
Reference in New Issue
Block a user