settings.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. module.exports = {
  2. title: '六院联创数字化管理平台',
  3. /**
  4. * @type {boolean} true | false
  5. * @description Whether show the settings right-panel
  6. */
  7. showSettings: false,
  8. /**
  9. * @type {boolean} true | false
  10. * @description Whether need tagsView
  11. */
  12. tagsView: false,
  13. /**
  14. * @type {boolean} true | false
  15. * @description Whether fix the header
  16. */
  17. fixedHeader: false,
  18. /**
  19. * @type {boolean} true | false
  20. * @description Whether show the logo in sidebar
  21. */
  22. sidebarLogo: true,
  23. /**
  24. * @type {string | array} 'production' | ['production', 'development']
  25. * @description Need show err logs component.
  26. * The default is only used in the production env
  27. * If you want to also use it in dev, you can pass ['production', 'development']
  28. */
  29. errorLog: 'production',
  30. /**
  31. * 服务API地址
  32. */
  33. serverUrl: 'http://36.137.171.123:7001', // 正式环境
  34. // serverUrl: 'http://114.116.19.14:8080/', // 正式环境
  35. // devServerUrl: 'http://1.15.92.205:8001/', // 开发环境
  36. // devServerUrl: 'http://192.168.3.253:8001/', // 开发环境
  37. devServerUrl: 'http://127.0.0.1:7001/', // 开发环境
  38. /**
  39. * websocket 地址
  40. * dev 开发环境
  41. * pro正式环境
  42. */
  43. appID: '10003',
  44. appKey: '82a8bf439373e307',
  45. appSecret: '82a8bf439373e307',
  46. permitTplId: 7,
  47. wsServerUrl: {
  48. dev: 'ws://ws.58yunkang.com/websocket/link',
  49. pro: 'ws://ws.58yunkang.com/websocket/link'
  50. }
  51. }