oa-base/config/index.js

19 lines
456 B
JavaScript
Raw Normal View History

2024-04-12 08:30:22 +00:00
const env = 'dev';
const configs = {
dev: {
apiBaseUrl: 'https://warehouse.szjixun.cn/oa_backend',
2024-06-18 07:22:58 +00:00
h5Url:'http://192.168.88.37:8080/#/'
2024-04-12 08:30:22 +00:00
},
test: {
apiBaseUrl: 'https://warehouse.szjixun.cn/oa_backend',
h5Url:'http://172.16.100.93:8041/#/'
},
prod: {
apiBaseUrl: 'https://oa.szjixun.cn/api',
h5Url:'https://oa.szjixun.cn/#/'
},
};
const config = configs[env];
export default config;