This commit is contained in:
zmj 2024-06-26 19:19:58 +08:00
parent f9e9d0607e
commit eb3b34ed42
2 changed files with 11 additions and 9 deletions

View File

@ -2,17 +2,19 @@ let BASE_URL
let WSS_URL
import store from "@/store/user.js"
// 环境
// let env = "dev"
let env = "dev"
// let env = "prod"
let env = "liu";
// let env = "liu";
switch (env) {
case 'dev':
BASE_URL = 'https://test-multi-store.lihaink.cn';
WSS_URL = 'wss://test-multi-store.lihaink.cn/pull'
// BASE_URL = 'https://test-multi-store.lihaink.cn';
// 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;
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'
break;
default:
@ -32,7 +34,7 @@ let config = {
'Form-type': 'routine',
//#endif
//#ifdef APP-PLUS
'Form-type': 'app',
'Form-type': 'routine',
//#endif
'TOKEN': ''
},

View File

@ -436,7 +436,7 @@
const user_channel = connection.subscribe(`wechat_mmp_${userInfo.id}`);
user_channel.on('message', function(data) {
try {
if (timerInvol) clearTimeout(timerInvol);
clearTimeout(timerInvol);
paySuccessToTabs2()
} catch (error) {}
});
@ -489,7 +489,7 @@
formData.brigade = ''
formData.code = ''
currentAddressIndex.value = 0
count.value = 0
cutDown.value = 0
tabsList.forEach(item => {
item.name = '请选择'
})
@ -538,7 +538,7 @@
formData.brigade = ''
formData.code = ''
currentAddressIndex.value = 0
count.value = 0
cutDown.value = 0
tabsList.forEach(item => {
item.name = '请选择'
})