diff --git a/components/Websocket/index.jsx b/components/Websocket/index.jsx index 8367e85..79d3748 100644 --- a/components/Websocket/index.jsx +++ b/components/Websocket/index.jsx @@ -49,9 +49,8 @@ const WebSocketComponent = ({ getData, authInfo }) => { const account = get("account"); if (socketRef.current?.readyState === 1) return; // 创建WebSocket连接 - console.log("desdas--------.", account); socketRef.current = new WebSocket( - `${process.env.NEXT_PUBLIC_WEBSOCKET_URL}/ws?b_mid=${base.b_mid}&b_dt=1&b_token=${base.b_token}&b-ch=h5` + `${process.env.NEXT_PUBLIC_WEBSOCKET_URL}/ws?b_mid=${base.b_mid}&b_dt=1&b_token=${base.b_token}&b_ch=h5` ); // 注意使用wss协议(如果服务器支持)