| 123456789101112131415161718192021 |
- // const baseUrl = process.env.NODE_ENV === 'development' ? 'http://10.0.0.180:8888/' : 'https://zxxapp.sxidc.com/'
- const baseUrl = process.env.NODE_ENV === 'development' ? 'http://10.0.0.8:30700/' : 'http://10.0.0.151:30700/'
- const ossPathPerfixs = 'https://fskj-res.oss-cn-zhangjiakou.aliyuncs.com/zxx/images'
- const config = {
- baseUrl,
- apiBaseUrl: baseUrl + 'mbwcb/api',
- imgBaseUrl: baseUrl + '',
- uploadUrl: '/upload',
- httpDefaultOption: {
- showLoading: true,
- showErrorMsg: true,
- isAuth: true,
- },
- ossPathPerfixs,
- defaultAvatarUrl: '/static/images/tool/default-avatar.png',
- defaultErrorImg: '/static/images/tool/defaultErrorImg.png',
- }
- export default config
|