| 12345678910111213141516171819202122 |
- // const baseUrl = process.env.NODE_ENV === 'development' ? 'http://10.0.0.85:8080/' : 'http://10.0.0.85:8080/'
- const baseUrl = process.env.NODE_ENV === 'development' ? 'http://fs.towantto.com:20201/' : 'http://fs.towantto.com:20201/'
- const ossPathPerfixs = 'https://fskj-res.oss-cn-zhangjiakou.aliyuncs.com/zxx/images'
- const config = {
- baseUrl,
- apiBaseUrl: baseUrl,
- 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',
- schoolId: '032bd55dc7984195b8e492a713007bb3'
- }
- export default config
|