config.service.js 418 B

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