oa-base/config/index.js

18 lines
457 B
JavaScript
Raw Normal View History

2024-06-13 05:54:32 +00:00
const env = 'dev';
2024-04-12 08:30:22 +00:00
const configs = {
dev: {
apiBaseUrl: 'https://warehouse.szjixun.cn/oa_backend',
2024-06-17 13:12:06 +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-06 10:53:44 +00:00
h5Url: 'http://114.218.158.24:8042/#/'
2024-04-12 08:30:22 +00:00
},
prod: {
2024-06-13 05:54:32 +00:00
apiBaseUrl: 'https://oa-a.szjixun.cn',
2024-06-03 09:11:28 +00:00
h5Url: 'https://oa-a.szjixun.cn/#/'
2024-04-12 08:30:22 +00:00
},
2024-06-03 09:11:28 +00:00
}
2024-04-12 08:30:22 +00:00
const config = configs[env];
export default config;