小程序产品库完成
This commit is contained in:
27
src/utils/config.js
Normal file
27
src/utils/config.js
Normal file
@@ -0,0 +1,27 @@
|
||||
// 歙县郑村镇配置信息
|
||||
const configs = {
|
||||
// 生产配置信息
|
||||
pro: {
|
||||
areaId: '410184102000',
|
||||
areaName: '辛店镇',
|
||||
baseUrl: 'https://beijinweb.icunwei.com'
|
||||
},
|
||||
// 测试配置信息
|
||||
test: {
|
||||
areaId: '341021104000',
|
||||
areaName: '郑村镇',
|
||||
baseUrl: 'http://192.168.1.105:9000'
|
||||
},
|
||||
// 开发配置信息
|
||||
dev: {
|
||||
areaId: '341021104000',
|
||||
areaName: '郑村镇',
|
||||
baseUrl: 'http://192.168.1.87:9000'
|
||||
}
|
||||
}
|
||||
// 当前选中配置
|
||||
const currentConfig = configs[process.env.VUE_APP_CW_MODE]
|
||||
|
||||
export default {
|
||||
...currentConfig
|
||||
}
|
||||
Reference in New Issue
Block a user