|
@ -1,5 +1,5 @@ |
|
|
let DEV = false; |
|
|
let DEV = false; |
|
|
DEV = true; //使用测试环境
|
|
|
// DEV = true; //使用测试环境
|
|
|
|
|
|
|
|
|
const baseConfig = { |
|
|
const baseConfig = { |
|
|
errorHandle: false, //是否启用全局异常处理O
|
|
|
errorHandle: false, //是否启用全局异常处理O
|
|
@ -8,20 +8,22 @@ const baseConfig = { |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
const development = { |
|
|
const development = { |
|
|
// baseUrl: 'http://221.230.55.29:31919',
|
|
|
baseUrl: 'http://221.230.55.29:31919', |
|
|
baseUrl: 'https://d763-117-90-37-10.ap.ngrok.io', |
|
|
// baseUrl: 'https://d763-117-90-37-10.ap.ngrok.io',
|
|
|
// webUrl: 'https://smartwater.anxinyun.cn',
|
|
|
// webUrl: 'https://smartwater.anxinyun.cn',
|
|
|
// pcode: 'fce4afe2-5b6a-408a-ab18-a2afa7fa027c',
|
|
|
// pcode: 'fce4afe2-5b6a-408a-ab18-a2afa7fa027c',
|
|
|
imgUrl: 'http://rfkimpwbb.hn-bkt.clouddn.com/', |
|
|
// imgUrl: 'http://rfkimpwbb.hn-bkt.clouddn.com/',
|
|
|
|
|
|
imgUrl: 'http://resources-test.anxinyun.cn/', |
|
|
// requestCache: true, //开启异步请求缓存
|
|
|
// requestCache: true, //开启异步请求缓存
|
|
|
...baseConfig |
|
|
...baseConfig |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
const production = { |
|
|
const production = { |
|
|
baseUrl: 'https://wxapp.free-sun.vip/v1/api', |
|
|
baseUrl: 'https://sihao.anxinyun.cn/_api', |
|
|
webUrl: 'http://218.3.150.105:8998', |
|
|
// baseUrl: 'https://d763-117-90-37-10.ap.ngrok.io',
|
|
|
pcode: 'b3718361-f7db-4058-98a6-071393d0420c', |
|
|
// webUrl: 'https://smartwater.anxinyun.cn',
|
|
|
imgUrl: 'http://test.resources.anxinyun.cn/', |
|
|
// pcode: 'fce4afe2-5b6a-408a-ab18-a2afa7fa027c',
|
|
|
|
|
|
imgUrl: 'http://resources.anxinyun.cn/', |
|
|
...baseConfig |
|
|
...baseConfig |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|