Merge branch 'main' of http://124.243.245.42:3000/sdz/ks-app-employment-service
This commit is contained in:
13
packageCa/utilCa/config.js
Normal file
13
packageCa/utilCa/config.js
Normal file
@@ -0,0 +1,13 @@
|
||||
let baseUrl = ""
|
||||
// #ifdef MP-WEIXIN
|
||||
// 编译项目,因为使用插件lime-echart,echart文件过大,需要非压缩代码方式编译,不然会很慢,发布的时候才压缩代码方式编译
|
||||
if (wx.getAccountInfoSync().miniProgram.envVersion === 'develop') {
|
||||
baseUrl = 'https://localhost:7026' // 开发环境
|
||||
} else {
|
||||
baseUrl = 'https://yanxueapi.51xuanxiao.com' // 生产环境
|
||||
}
|
||||
// #endif
|
||||
|
||||
export {
|
||||
baseUrl
|
||||
}
|
||||
Reference in New Issue
Block a user