修改积分计算

This commit is contained in:
2025-12-25 19:03:44 +08:00
parent eeadcb382f
commit 55207667b0
13 changed files with 758 additions and 587 deletions

View File

@@ -1,3 +1,5 @@
const DEBUG=true;
const appConfig = {
// 项目名称
@@ -5,7 +7,7 @@ const appConfig = {
// token取值key
tokenKey: 'tokenInfo',
baseUrl:'',
// 环境变量相关
env: {},
// wss: "ws://192.168.1.42:2348", // ws://192.168.1.42:2348
@@ -24,5 +26,17 @@ const appConfig = {
encryptKey: '1234567890123456' // http数据加解密的key
}
if(DEBUG){
appConfig.wss='ws://192.168.1.42:2348'
appConfig.baseUrl='http://192.168.1.42'
// #ifdef H5
appConfig.baseUrl='/testApi'
// #endif
}else{
appConfig.baseUrl='https://cashier.sxczgkj.com'
appConfig.wss='wss://czgeatws.sxczgkj.com/wss'
// #ifdef H5
appConfig.baseUrl='/proApi'
// #endif
}
export default appConfig;