index.js 950 B

12345678910111213141516171819202122
  1. import config from './index.json'
  2. //主要配置
  3. export default {
  4. title: '项目管控平台',
  5. key: 'hac', // 配置主键,目前用于存储
  6. clientId: 'hac', // 客户端id
  7. clientSecret: 'hac_secret', // 客户端密钥
  8. tenantMode: true, // 是否开启租户模式
  9. tenantId: "003077", // 管理组租户编号
  10. captchaMode: false, // 是否开启验证码模式
  11. switchMode: false, // 是否开启部门切换模式
  12. tokenTime: 1740,
  13. tokenHeader: 'Blade-Auth',
  14. tokenKey: 'hac-access-token',
  15. refreshTokenKey: 'hac-refresh-token',
  16. statusWhiteList: [], //http的status默认放行列表
  17. ...config,
  18. socket: 'wss://business.hcxxy.com/wss/websocket/', //测试线上
  19. //这里不再支持配置请求地址,请在 src/config/index.json 文件中配置。
  20. //相关参数,可查阅 src/config/index.md 文件说明
  21. }