config.js 275 B

123456789101112
  1. const baseUrl = process.env.NODE_ENV === 'development' ? 'https://saishi.sxidc.com' : 'https://zhswapi.sxidc.com'
  2. const config = {
  3. baseUrl,
  4. apiBaseUrl: baseUrl + '/apiApp/1/',
  5. httpDefaultOption: {
  6. showLoading: true,
  7. isAuth: true,
  8. },
  9. }
  10. export default config