AI销管
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

23 lines
528 B

  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 hostAdmin = `${base}/admin`;
  12. const iMServiceHost = 'https://im.quhouse.com/'; //IM的后端地址正式
  13. export {
  14. baseUrl,
  15. host,
  16. hosts,
  17. iMServiceHost,
  18. base,
  19. hostAdmin
  20. }