app.config.js 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /* 在此文件写入自定义配置
  2. * 属性名称不能修改,写入的内容均可在lib.$$config中取到
  3. * 系统配置参数说明可以在参考文档GLOBAL中找到,参考默认配置进行修改,与默认值相同时无需重复配置
  4. * 注意,运行时修改此文件无效,需要重新运行工程
  5. */
  6. PROJECT_CONFIG = {
  7. // 微应用版本
  8. version: 0.1,
  9. // 微应用名称
  10. siteName: "电商入库零星物资RFID标签管理系统",
  11. // 微应用简称
  12. minSiteMame: "RFID",
  13. // 系统运行时是否显示错误信息
  14. showErrorTips: true,
  15. // 系统API请求超时时间
  16. requestTimeout: 0,
  17. // 上下文
  18. projectContext: "/scm-app",
  19. // 主页面路径
  20. portalPath: "/admin",
  21. // 首页路径
  22. portalHome: "/admin/index",
  23. // 页面颜色主题
  24. defaultTheme: ["#eb6652", "#1f5011"],
  25. // 后端服务类型
  26. backServerType: "msa",
  27. backServerRoot: "http://10.131.216.16:31999",
  28. // 指定当前工程所属命名空间、系统及后端系统根路径
  29. system: {
  30. namespace: "scm",
  31. name: "scm",
  32. root: "/scm"
  33. },
  34. // 认证服务网关
  35. authServiceConfig: {
  36. gatewayRoute: "/scm/scm.direwolf-auth"
  37. },
  38. // 微服务服务监控后端地址,仅在开发中使用
  39. // graphqlServer: 'http://192.168.150.24:12800',
  40. // SBA后端地址,仅在开发中使用
  41. // sbaServer: 'http://192.168.150.24:30006',
  42. // homeMenuWidth: 300,
  43. // backServerType: 'soa',
  44. // backServerRoot: 'http://localhost:8480/direwolf_app_war_exploded',
  45. // authServiceConfig: {
  46. // gatewayRoute: '/auth',
  47. // },
  48. // activitiServiceConfig: {
  49. // adminPath: '/a',
  50. // gatewayRoute: '/activiti',
  51. // },
  52. sysServiceConfig: {
  53. adminPath: "/a",
  54. context: "/sys-app",
  55. gatewayRoute: "/scm/scm.direwolf-sys"
  56. }
  57. // dashboardServiceConfig: {
  58. // adminPath: '/a',
  59. // gatewayRoute: '/sys',
  60. // },
  61. };
  62. if (typeof module !== "undefined") {
  63. // 开发环境WEBPACK环境使用
  64. module.exports = PROJECT_CONFIG;
  65. }