add
This commit is contained in:
parent
f9e9d0607e
commit
eb3b34ed42
|
@ -2,17 +2,19 @@ let BASE_URL
|
||||||
let WSS_URL
|
let WSS_URL
|
||||||
import store from "@/store/user.js"
|
import store from "@/store/user.js"
|
||||||
// 环境
|
// 环境
|
||||||
// let env = "dev"
|
let env = "dev"
|
||||||
// let env = "prod"
|
// let env = "prod"
|
||||||
let env = "liu";
|
// let env = "liu";
|
||||||
|
|
||||||
switch (env) {
|
switch (env) {
|
||||||
case 'dev':
|
case 'dev':
|
||||||
BASE_URL = 'https://test-multi-store.lihaink.cn';
|
// BASE_URL = 'https://test-multi-store.lihaink.cn';
|
||||||
WSS_URL = 'wss://test-multi-store.lihaink.cn/pull'
|
// WSS_URL = 'wss://test-multi-store.lihaink.cn/pull'
|
||||||
|
BASE_URL = 'https://ceshi-multi-store.lihaink.cn';
|
||||||
|
WSS_URL = 'wss://ceshi-multi-store.lihaink.cn/pull'
|
||||||
break;
|
break;
|
||||||
case 'liu':
|
case 'liu':
|
||||||
BASE_URL = 'https:ceshi-multi-store.lihaink.cn';
|
BASE_URL = 'https://ceshi-multi-store.lihaink.cn';
|
||||||
WSS_URL = 'wss://ceshi-multi-store.lihaink.cn/pull'
|
WSS_URL = 'wss://ceshi-multi-store.lihaink.cn/pull'
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
@ -32,7 +34,7 @@ let config = {
|
||||||
'Form-type': 'routine',
|
'Form-type': 'routine',
|
||||||
//#endif
|
//#endif
|
||||||
//#ifdef APP-PLUS
|
//#ifdef APP-PLUS
|
||||||
'Form-type': 'app',
|
'Form-type': 'routine',
|
||||||
//#endif
|
//#endif
|
||||||
'TOKEN': ''
|
'TOKEN': ''
|
||||||
},
|
},
|
||||||
|
|
|
@ -436,7 +436,7 @@
|
||||||
const user_channel = connection.subscribe(`wechat_mmp_${userInfo.id}`);
|
const user_channel = connection.subscribe(`wechat_mmp_${userInfo.id}`);
|
||||||
user_channel.on('message', function(data) {
|
user_channel.on('message', function(data) {
|
||||||
try {
|
try {
|
||||||
if (timerInvol) clearTimeout(timerInvol);
|
clearTimeout(timerInvol);
|
||||||
paySuccessToTabs2()
|
paySuccessToTabs2()
|
||||||
} catch (error) {}
|
} catch (error) {}
|
||||||
});
|
});
|
||||||
|
@ -489,7 +489,7 @@
|
||||||
formData.brigade = ''
|
formData.brigade = ''
|
||||||
formData.code = ''
|
formData.code = ''
|
||||||
currentAddressIndex.value = 0
|
currentAddressIndex.value = 0
|
||||||
count.value = 0
|
cutDown.value = 0
|
||||||
tabsList.forEach(item => {
|
tabsList.forEach(item => {
|
||||||
item.name = '请选择'
|
item.name = '请选择'
|
||||||
})
|
})
|
||||||
|
@ -538,7 +538,7 @@
|
||||||
formData.brigade = ''
|
formData.brigade = ''
|
||||||
formData.code = ''
|
formData.code = ''
|
||||||
currentAddressIndex.value = 0
|
currentAddressIndex.value = 0
|
||||||
count.value = 0
|
cutDown.value = 0
|
||||||
tabsList.forEach(item => {
|
tabsList.forEach(item => {
|
||||||
item.name = '请选择'
|
item.name = '请选择'
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue