From 360cc0d4569764cfcd70b987113883c1e3dbf64c Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 18 May 2022 15:43:05 +0800 Subject: [PATCH] =?UTF-8?q?new=20websocket=20=E5=A2=9E=E5=8A=A0token?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/customerservice/support/conversation/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/customerservice/support/conversation/index.jsx b/src/pages/customerservice/support/conversation/index.jsx index 85b8faf..17f03ca 100644 --- a/src/pages/customerservice/support/conversation/index.jsx +++ b/src/pages/customerservice/support/conversation/index.jsx @@ -129,7 +129,7 @@ const conversation = (props) => { //const bizServiceCustomService = 'http://10.242.31.158:8100/api/biz-customer-service' var addr = `${REACT_APP_CUSTOMERSERVICE_WS_REDIRECT}` + '/websocketClient/' let no = kfType==1?'EMPTY':agentNumber - var ws = new WebSocket(addr+id+'/'+no); + var ws = new WebSocket(addr+id+'/'+no, [sessionStorage.getItem('Authorization')]); // 建立 web socket 连接成功触发事件 ws.onopen = function () { console.log("Connection open ...");