文件服务后台
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.
 
 
 
 
 
 

112 line
2.4 KiB

  1. # 项目相关配置
  2. ruoyi:
  3. # 名称
  4. name: RX_GXZB
  5. # 版本
  6. version: 3.8.6
  7. # 版权年份
  8. copyrightYear: 2023
  9. # 实例演示开关
  10. demoEnabled: true
  11. # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ronxin/uploadPath)
  12. profile: /mnt/data/storage/rongxin/gxzb
  13. # 获取ip地址开关
  14. addressEnabled: false
  15. # 验证码类型 math 数字计算 char 字符验证
  16. captchaType: math
  17. # Spring配置
  18. spring:
  19. # 资源信息
  20. messages:
  21. # 国际化资源文件路径
  22. basename: i18n/messages
  23. profiles:
  24. # 服务器分支:dev、test、stage、prod
  25. # 本地开发用 local
  26. active: local
  27. # 文件上传
  28. servlet:
  29. multipart:
  30. # 单个文件大小
  31. max-file-size: 10MB
  32. # 设置总上传的文件大小
  33. max-request-size: 20MB
  34. # 服务模块
  35. devtools:
  36. restart:
  37. # 热部署开关
  38. enabled: true
  39. # 开发环境配置
  40. server:
  41. # 服务器的HTTP端口
  42. port: 8085
  43. servlet:
  44. # 应用的访问路径
  45. context-path: /
  46. tomcat:
  47. # tomcat的URI编码
  48. uri-encoding: UTF-8
  49. # 连接数满后的排队数,默认为100
  50. accept-count: 1000
  51. threads:
  52. # tomcat最大线程数,默认为200
  53. max: 800
  54. # Tomcat启动初始化的线程数,默认值10
  55. min-spare: 100
  56. # 日志配置
  57. logging:
  58. level:
  59. com.ruoyi: debug
  60. org.springframework: warn
  61. # 用户配置
  62. user:
  63. password:
  64. # 密码最大错误次数
  65. maxRetryCount: 5
  66. # 密码锁定时间(默认10分钟)
  67. lockTime: 10
  68. # token配置
  69. token:
  70. # 令牌自定义标识
  71. header: Authorization
  72. # 令牌密钥
  73. secret: abcdefghijklmnopqrstuvwxyz
  74. # 令牌有效期(默认15天)
  75. expireTime: 21600
  76. # MyBatis配置
  77. mybatis:
  78. # 搜索指定包别名
  79. typeAliasesPackage: com.ruoyi.**.domain
  80. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  81. mapperLocations: classpath*:mapper/**/*Mapper.xml
  82. # 加载全局的配置文件
  83. configLocation: classpath:mybatis/mybatis-config.xml
  84. # PageHelper分页插件
  85. pagehelper:
  86. helperDialect: mysql
  87. supportMethodsArguments: true
  88. params: count=countSql
  89. # Swagger配置
  90. swagger:
  91. # 是否开启swagger
  92. enabled: true
  93. # 请求前缀
  94. pathMapping: /api
  95. # 防止XSS攻击
  96. xss:
  97. # 过滤开关
  98. enabled: true
  99. # 排除链接(多个用逗号分隔)
  100. excludes: /system/notice
  101. # 匹配链接
  102. urlPatterns: /system/*,/monitor/*,/tool/*