Sfoglia il codice sorgente

1 修复消息发送也websocket链接失败

release/210823_需求对对碰
王饶冀 3 anni fa
parent
commit
e1bc63de04
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      pages/msgModule/wechat2/wechat2.js

+ 1
- 1
pages/msgModule/wechat2/wechat2.js Vedi File

@@ -119,7 +119,7 @@ Page({
// console.log()
//建立连接
wx.connectSocket({
url: `ws://` + app.webSocketUrl + `/webSocket/{"userno":${customerId},"messageModule":"010"}`,//本地
url: `ws://` + app.webSocketUrl + `/webSocket/{"userno":${receiveMemberId},"messageModule":"010"}`,//本地
success: function () {
console.log('websocket连接成功~')
},

Loading…
Annulla
Salva