|
@@ -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)
|
|
|
}
|