config.service.js 796 B

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