初始化
This commit is contained in:
25
framework/0-conf.js
Normal file
25
framework/0-conf.js
Normal file
@@ -0,0 +1,25 @@
|
||||
const debug = false;
|
||||
// #ifdef H5
|
||||
const proxyApi = "/api"
|
||||
// #endif
|
||||
// #ifdef MP-WEIXIN
|
||||
const baseUrl = 'https://door.sxczgkj.cn/api/merchant' // 线上
|
||||
// #endif
|
||||
// #ifdef H5
|
||||
const baseUrl = debug ? proxyApi : 'https://door.sxczgkj.cn/api/merchant' // 线上
|
||||
// #endif
|
||||
// import VConsole from "./vConsole.js"
|
||||
// if (debug) {
|
||||
// // new VConsole()
|
||||
// }
|
||||
const version = '109'
|
||||
const autoRemoveCache = {
|
||||
count: 100000,
|
||||
size: 100000
|
||||
}
|
||||
uni.conf = {
|
||||
debug,
|
||||
baseUrl,
|
||||
version,
|
||||
autoRemoveCache
|
||||
}
|
||||
Reference in New Issue
Block a user