AI销管
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

domain.js 481 B

2 years ago
2 years ago
2 years ago
2 years ago
1234567891011121314151617181920
  1. /**
  2. * env文件里配置自定义运行菜单每一个js代表一个域名
  3. */
  4. const obj = process.env.ENV_PATH == undefined ? require('../env/dev.js') : require(process.env.ENV_PATH)
  5. const base = obj.baseUrl
  6. // http.js使用
  7. const baseUrl = `${base}/autoSR/api`;
  8. // config 使用
  9. const host = `${base}/autoSR/api`;
  10. const hosts = `${base}/`;
  11. const iMServiceHost = 'https://im.quhouse.com/'; //IM的后端地址正式
  12. export {
  13. baseUrl,
  14. host,
  15. hosts,
  16. iMServiceHost,
  17. base
  18. }