From 1441c09f48a2070437f9de6c7b35213a60ae5a13 Mon Sep 17 00:00:00 2001 From: al Date: Thu, 26 Dec 2024 19:34:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Websocket/index.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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协议(如果服务器支持)