config.service.js 477 B

1234567891011121314151617
  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.120.120.164:9999"; // 察哈素
  7. BASE_URL = "http://182.92.126.35:9999"; // 生产环境
  8. }
  9. let staticDomainURL = BASE_URL + "/sys/common/static";
  10. const configService = {
  11. apiUrl: BASE_URL,
  12. staticDomainURL: staticDomainURL,
  13. };
  14. export default configService;