| 1234567891011121314 |
- const baseUrl = process.env.NODE_ENV === 'development' ? 'http://johnny-ttj.vaiwan.com' : 'https://zhswapi.sxidc.com'
- const config = {
- baseUrl,
- apiBaseUrl: baseUrl + '/api/',
- httpDefaultOption: {
- showLoading: true,
- showErrorMsg: true,
- isAuth: true,
- },
- defaultErrorImg: ''
- }
- export default config
|