瀏覽代碼

websocket修改

王通 2 年之前
父節點
當前提交
fb79727089
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/vBottomMenu.vue

+ 1 - 1
src/components/vBottomMenu.vue

@@ -527,7 +527,7 @@
         selectConfigKey(wsurl).then(res => {
         selectConfigKey(wsurl).then(res => {
           //初始化weosocket
           //初始化weosocket
           //const wsuri = 'ws://127.0.0.1:10003/eventPush/' + userId + '/' + eventTypeDl + '/' + eventType
           //const wsuri = 'ws://127.0.0.1:10003/eventPush/' + userId + '/' + eventTypeDl + '/' + eventType
-          const wsuri = res.data + userId +postName+ userId
+          const wsuri = res.data +postName+ userId
           // const wsuri = 'ws://172.28.20.82:10012/taskPush/'+userId
           // const wsuri = 'ws://172.28.20.82:10012/taskPush/'+userId
           this.websock = new WebSocket(wsuri)
           this.websock = new WebSocket(wsuri)
           //console.log('建立websocket连接' + wsuri)
           //console.log('建立websocket连接' + wsuri)