config.service.js 609 B

1234567891011121314151617181920
  1. let BASE_URL = ''
  2. if (process.env.NODE_ENV == 'development') {
  3. BASE_URL = 'https://test.baoxianzhanggui.com/locallive-java' // 测试环境
  4. // BASE_URL = 'http://192.168.0.36:8080/jeecg-boot' // 开发环境
  5. // BASE_URL = 'http://192.168.0.52:8081/jeecg-boot' // 开发环境
  6. // BASE_URL = 'http://192.168.0.42:8080/jeecg-boot' // 开发环境
  7. } else {
  8. BASE_URL = 'https://test.baoxianzhanggui.com/locallive-java' // 测试环境
  9. }
  10. let staticDomainURL = BASE_URL + '/sys/common/static';
  11. const configService = {
  12. apiUrl: BASE_URL,
  13. staticDomainURL: staticDomainURL
  14. };
  15. export default configService