config.service.js 725 B

123456789101112131415161718192021
  1. let BASE_URL = "";
  2. if (process.env.NODE_ENV == "development") {
  3. BASE_URL = "http://182.92.126.35:9999"; // 开发环境
  4. } else {
  5. BASE_URL = "http://10.246.95.4:9999"; // 布尔台
  6. // BASE_URL = "http://10.248.135.10:9999"; // 大柳塔进
  7. // BASE_URL = "http://10.248.135.121:9999"; // 活鸡兔井
  8. // BASE_URL = "http://10.246.63.125:9999"; // 寸草塔二矿
  9. // BASE_URL = "http://10.246.183.35:9999"; // 乌兰木伦
  10. // BASE_URL = "http://10.120.120.164:9999"; // 察哈素
  11. // BASE_URL = "http://182.92.126.35:9999"; // 生产环境
  12. }
  13. let staticDomainURL = BASE_URL + "/sys/common/static";
  14. const configService = {
  15. apiUrl: BASE_URL,
  16. staticDomainURL: staticDomainURL,
  17. };
  18. export default configService;