oa-base/config/index.js

23 lines
581 B
JavaScript
Raw Normal View History

2024-07-27 11:00:50 +00:00
const env = 'dev';
2024-07-09 06:28:06 +00:00
const configs = {
2024-07-08 07:29:21 +00:00
LocalTest: {
apiBaseUrl: 'https://warehouse.szjixun.cn/oa_backend',
2024-07-27 11:00:50 +00:00
h5Url:'http://192.168.88.37:8080/#/'
2024-07-08 07:29:21 +00:00
},
2024-04-12 08:30:22 +00:00
dev: {
apiBaseUrl: 'https://warehouse.szjixun.cn/oa_backend',
2024-07-27 11:00:50 +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',
2024-07-08 07:29:21 +00:00
h5Url:'http://114.218.158.24:8042/#/'
2024-04-12 08:30:22 +00:00
},
prod: {
2024-07-12 08:50:13 +00:00
apiBaseUrl: 'https://oa-a.szjixun.cn/api',
h5Url:'https://oa-a.szjixun.cn/#/'
2024-04-12 08:30:22 +00:00
},
2024-06-18 07:55:32 +00:00
};
2024-04-12 08:30:22 +00:00
const config = configs[env];
export default config;