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 ...");