fix
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -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/websocket' | 262 | websocketUrl = 'wss://daop-zcgl-test.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 () { | ... | ... |
-
Please register or sign in to post a comment