支付宝兼容,排队预约修改,订单逻辑修改
This commit is contained in:
@@ -27,7 +27,6 @@ class webSocketUtils {
|
||||
connectSocketInit(data) {
|
||||
let _this = this;
|
||||
this.data = data;
|
||||
console.log(this.url)
|
||||
// #ifdef MP-WEIXIN
|
||||
this.socketTask = uni.connectSocket({
|
||||
// #endif
|
||||
@@ -42,7 +41,6 @@ class webSocketUtils {
|
||||
return this.socketTask;
|
||||
},
|
||||
fail: (res) => {
|
||||
console.log(res)
|
||||
}
|
||||
});
|
||||
|
||||
@@ -221,7 +219,6 @@ class webSocketUtils {
|
||||
//停止发送心跳
|
||||
clearInterval(this.heartbeatInterval);
|
||||
//如果不是人为关闭的话,进行重连
|
||||
console.log(!this.is_open_socket)
|
||||
if (!this.is_open_socket) {
|
||||
console.log('进行重连');
|
||||
this.canReconnect = true;
|
||||
|
||||
Reference in New Issue
Block a user