b68cc119 by lihua

fix

1 parent 7f9b73da
...@@ -259,7 +259,7 @@ const createServerConnect = () => { ...@@ -259,7 +259,7 @@ const createServerConnect = () => {
259 let websocketUrl = 'ws://192.168.6.20:39203'; 259 let websocketUrl = 'ws://192.168.6.20:39203';
260 //测试环境 260 //测试环境
261 if (location.origin == 'https://daop-zcgl-test.zgsjzc.com') { 261 if (location.origin == 'https://daop-zcgl-test.zgsjzc.com') {
262 websocketUrl = 'wss://daop-zcgl-test-websocket.zgsjzc.com' 262 websocketUrl = 'wss://daop-zcgl-test-websocket.zgsjzc.com/websocket'
263 } 263 }
264 const ws = new WebSocket(`${websocketUrl}/websocket/${userData.staffGuid}`); 264 const ws = new WebSocket(`${websocketUrl}/websocket/${userData.staffGuid}`);
265 ws.onopen = function () { 265 ws.onopen = function () {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!