zhaoxiaohai 2 years ago
parent
commit
8efab2b7e5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app.js

+ 2 - 2
app.js

@@ -5,10 +5,10 @@ import {
 App({
     onLaunch() {},
     initSocket() {
-        console.log('链接initSocket')
+        return;
         let that = this;
         this.globalData.SocketTask = wx.connectSocket({
-            url: 'wss://www.buwanjia.com/bwj/webSocket/' + wx.getStorageSync('userData').token,
+            url: 'ws://121.37.152.76:8080/yos/webSocket/' + wx.getStorageSync('userMsg').token,
             complete: (res) => {
                 console.log(res)
             }