初始化

This commit is contained in:
魏啾
2024-03-21 15:38:10 +08:00
parent e2f200ae7a
commit 81321b648f
479 changed files with 60060 additions and 1 deletions

25
framework/0-conf.js Normal file
View 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
}