Explorar el Código

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

release/210823_需求对对碰
王饶冀 hace 3 años
padre
commit
e1bc63de04
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      pages/msgModule/wechat2/wechat2.js

+ 1
- 1
pages/msgModule/wechat2/wechat2.js Ver fichero

@@ -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连接成功~')
},

Cargando…
Cancelar
Guardar