44465e4d by lihua

修改消息服务

1 parent 06f858b7
...@@ -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 () {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!