测试环境链接替换,部分问题修复,增加批量退菜功能

This commit is contained in:
2026-07-07 15:26:08 +08:00
parent b93429ed99
commit c001f982b4
29 changed files with 1975 additions and 349 deletions

View File

@@ -3,13 +3,15 @@ export const ENV = 'test'
export const ENV_BASE_URL = {
java: {
prod: 'https://cashier.sxczgkj.com/',
test: 'http://192.168.1.42/',
// test: 'http://192.168.1.43/',
test: 'https://frp.sxczgkj.com/',
h5ProdProxy: '/prodJavaApi/',
h5TestProxy: '/testJavaApi/',
},
php: {
prod: 'https://cashier.sxczgkj.com/',
test: 'http://192.168.1.42:8787/',
// test: 'http://192.168.1.43:8787/',
test: 'https://frp.sxczgkj.com:8787/',
h5ProdProxy: '/prodPhpApi/api/',
h5TestProxy: '/testPhpApi/api/',
}
@@ -73,14 +75,15 @@ export function returnBaseUrl(param) {
function returnWss(env) {
// #ifdef H5
if (env === 'test') {
return 'http://192.168.1.42:2348'
return 'http://192.168.1.43:2348'
} else {
return 'https://czgeatws.sxczgkj.com/wss'
}
// #endif
// #ifndef H5
if (env === 'test') {
return 'ws://192.168.1.42:2348'
// return 'ws://192.168.1.43:2348'
return 'ws://frp.sxczgkj.com/wss'
} else {
return 'wss://czgeatws.sxczgkj.com/wss'
}