소스 검색

提交待吗~

hotfix/210830_二组需求分支
王饶冀 4 년 전
부모
커밋
8bd5a299da
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1
    1
      components/tabbar/tabbar.js
  2. 1
    1
      pages/msgModule/index.js

+ 1
- 1
components/tabbar/tabbar.js 파일 보기

initWebSocket() { initWebSocket() {
let _this = this; let _this = this;
let customerId = this.data.customerId; let customerId = this.data.customerId;
let url = encodeURI(`ws://` + app.webSocketUrl + `/webSocket/{"userno":${customerId},"messageModule":"010"}`);
let url = encodeURI(app.webSocketUrl + `/webSocket/{"userno":${customerId},"messageModule":"010"}`);
//建立连接 //建立连接
wx.connectSocket({ wx.connectSocket({
url,//本地 url,//本地

+ 1
- 1
pages/msgModule/index.js 파일 보기

initWebSocket: function () { initWebSocket: function () {
var _this = this; var _this = this;
let { customerId } = _this.data; let { customerId } = _this.data;
let url = encodeURI(`ws://` + app.webSocketUrl + `/webSocket/{"userno":${customerId},"messageModule":"010"}`);
let url = encodeURI(app.webSocketUrl + `/webSocket/{"userno":${customerId},"messageModule":"010"}`);
//建立连接 //建立连接
wx.connectSocket({ wx.connectSocket({
url,//本地 url,//本地

Loading…
취소
저장