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