config.service.js 681 B

123456789101112131415161718192021
  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. // BASE_URL = 'http://192.168.0.103:8080/jeecg-boot' // 开发环境
  8. } else {
  9. BASE_URL = 'https://test.baoxianzhanggui.com/locallive-java' // 测试环境
  10. }
  11. let staticDomainURL = BASE_URL + '/sys/common/static';
  12. const configService = {
  13. apiUrl: BASE_URL,
  14. staticDomainURL: staticDomainURL
  15. };
  16. export default configService