oa-base/config/index.js

19 lines
459 B
JavaScript
Raw Normal View History

2024-06-18 07:55:32 +00:00
const env = 'prod';
2024-04-12 08:30:22 +00:00
const configs = {
dev: {
apiBaseUrl: 'https://warehouse.szjixun.cn/oa_backend',
2024-06-18 07:55:32 +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-06-18 07:55:32 +00:00
h5Url:'http://172.16.100.93:8041/#/'
2024-04-12 08:30:22 +00:00
},
prod: {
2024-06-18 07:55:32 +00:00
apiBaseUrl: 'https://oa-a.szjixun.cn/api',
2024-06-18 07:59:32 +00:00
h5Url:'https://oa.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;