公众号项目
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.

26 lines
991 B

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. // .env.js 文件
  2. // 不同环境访问不同的路径
  3. // import store from '@/common/store/index'
  4. const ENV_API_URL = {
  5. development: 'https://cmbms.xzaiyp.top', //开发环境
  6. production: 'https://cmbms.xzaiyp.top', //生产环境
  7. }
  8. const ENV_BASE_URL = {
  9. development: 'https://cmbms.xzaiyp.top', //开发环境
  10. production: 'https://cmbms.xzaiyp.top', //生产环境
  11. }
  12. // const ENV_API_URL = {
  13. // development: 'http://localhost:8090', //开发环境
  14. // production: 'http://localhost:8090', //生产环境
  15. // }
  16. // const ENV_BASE_URL = {
  17. // development: 'http://localhost:8090', //开发环境
  18. // production: 'http://localhost:8090', //生产环境
  19. // }
  20. export const BASE_URL = ENV_BASE_URL[process.env.NODE_ENV || 'development']; //后台根域名
  21. export const API_URL = ENV_API_URL[process.env.NODE_ENV || 'development']; //后台接口域名
  22. export const HAS_LIVE = false; //后台是否开通直播权限,根据情况在manifest.json中,开启注释相应组件的引入。