config.service.js 722 B

123456789101112131415161718192021222324
  1. let BASE_URL = ''
  2. if (process.env.NODE_ENV == 'development') {
  3. // BASE_URL = 'http://127.0.0.1:8080/jeecg-boot' // 开发环境
  4. //BASE_URL = 'http://127.0.0.1:5100/ibps/business/v3/mobile' // 开发环境
  5. //BASE_URL = 'http://127.0.0.1:5100' // 开发环境
  6. BASE_URL = 'https://www.szjyxt.com/'// 生产环境
  7. // BASE_URL = 'https://www.szjyxt.com/'// 生产环境
  8. } else {
  9. //BASE_URL = 'http://127.0.0.1:5100/ibps/business/v3/mobile' // 生产环境
  10. //BASE_URL = 'http://127.0.0.1:5100' // 生产环境
  11. BASE_URL = 'https://www.szjyxt.com/'
  12. }
  13. let staticDomainURL = BASE_URL+ '/sys/common/static';
  14. const configService = {
  15. apiUrl: BASE_URL,
  16. staticDomainURL: staticDomainURL
  17. };
  18. export default configService