appointment_weapp/framework/0-conf.js

26 lines
545 B
JavaScript

const debug = true;
// #ifdef H5
const proxyApi = "/api"
// #endif
// #ifdef MP-WEIXIN || MP-ALIPAY
const baseUrl = 'https://door.sxczgkj.cn/api' // 线上
// const baseUrl = http://192.168.2.23:1200/api/ //本地
// #endif
// #ifdef H5
const baseUrl = debug ? proxyApi : 'https://door.sxczgkj.cn/api' // 线上
// #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
}