修改消息服务
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -276,8 +276,8 @@ const messageAllRead = () => { | ... | @@ -276,8 +276,8 @@ const messageAllRead = () => { |
| 276 | const createServerConnect = () => { | 276 | const createServerConnect = () => { |
| 277 | let websocketUrl = 'ws://192.168.6.20:39203'; | 277 | let websocketUrl = 'ws://192.168.6.20:39203'; |
| 278 | //测试环境 | 278 | //测试环境 |
| 279 | if (location.origin == 'https://daop-zcgl-test.zgsjzc.com') { | 279 | if (location.origin == 'https://daop-tds-test.zgsjzc.com') { |
| 280 | websocketUrl = 'wss://daop-zcgl-test.zgsjzc.com/websocket' | 280 | websocketUrl = 'wss://daop-tds-test.zgsjzc.com/websocket' |
| 281 | } | 281 | } |
| 282 | const ws = new WebSocket(`${websocketUrl}/websocket/${userData.staffGuid}`); | 282 | const ws = new WebSocket(`${websocketUrl}/websocket/${userData.staffGuid}`); |
| 283 | ws.onopen = function () { | 283 | ws.onopen = function () { | ... | ... |
-
Please register or sign in to post a comment