oa-base/config/index.js

22 lines
596 B
JavaScript
Raw Normal View History

2024-12-12 01:31:54 +00:00
const env = 'prod';
2024-07-09 06:28:06 +00:00
const configs = {
2024-12-12 01:31:54 +00:00
LocalTest: {
apiBaseUrl: 'https://warehouse.szjixun.cn/oa_backend',
h5Url: 'http://192.168.88.61:2367/#/'
},
2024-10-10 08:05:08 +00:00
dev: {
2024-04-12 08:30:22 +00:00
apiBaseUrl: 'https://warehouse.szjixun.cn/oa_backend',
2024-12-12 01:31:54 +00:00
h5Url: 'http://192.168.88.47:2367/#/'
2024-04-12 08:30:22 +00:00
},
test: {
apiBaseUrl: 'https://warehouse.szjixun.cn/oa_backend',
2024-12-12 01:31:54 +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',
2024-12-12 01:31:54 +00:00
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;