index.js 1.5 KB

123456789101112131415161718192021222324252627282930313233
  1. import config from './index.json'
  2. //主要配置
  3. export default {
  4. title: '档案管理 泓创智诚',
  5. desc: '泓创智诚数字工程档案平台',
  6. key: 'archives', // 配置主键,目前用于存储
  7. clientId: 'archives', // 客户端id
  8. clientSecret: 'archives_secret', // 客户端密钥
  9. tenantMode: true, // 是否开启租户模式
  10. tenantId: "000000", // 管理组租户编号
  11. captchaMode: false, // 是否开启验证码模式
  12. switchMode: false, // 是否开启部门切换模式
  13. tokenTime: 3000,
  14. tokenHeader: 'Blade-Auth',
  15. tokenKey: 'archives-access-token',
  16. refreshTokenKey: 'archives-refresh-token',
  17. statusWhiteList: [], //http的status默认放行列表
  18. role_id: "1610526744728031234", //档案总管理角色组ID
  19. isLog: 'auto', //是否打印日志
  20. ...config,
  21. ossUrl: 'https://bladex-chongqing-info.oss-cn-hangzhou.aliyuncs.com', //oss地址
  22. // socket: 'wss://business.hcxxy.com/wss/websocket/', //测试线上
  23. //socket: 'ws://192.168.0.113:8686/websocket/archive/', //王文龙
  24. // socket: 'ws://archives.hczcxx.cn/websocket/archive/',
  25. socket: 'ws://archives.hczcxx.cn/wss/websocket/archive/'
  26. //这里不再支持配置请求地址,请在 src/config/index.json 文件中配置。
  27. //相关参数,可查阅 src/config/index.md 文件说明
  28. //target: 'http://47.110.251.215:8090', //测试线上
  29. //target: 'http://127.0.0.1:8090', //打包线上http://120.79.83.156/
  30. }