baseurl.js 324 B

1234567891011121314151617
  1. let BASE_URL = ''
  2. let FILE_URL = ''
  3. // baseurl 联调时改url
  4. if (process.env.NODE_ENV == 'development') {
  5. BASE_URL = 'http://127.0.0.1:4523/m1/5748650-5431576-default';
  6. FILE_URL = '';
  7. }else{
  8. BASE_URL = '';
  9. FILE_URL = '';
  10. }
  11. const configService = {
  12. apiUrl: BASE_URL,
  13. FILE_URL:FILE_URL
  14. }
  15. export default configService