修改积分计算
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user