智能仲裁后端服务

application.yml 4.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. # 项目相关配置
  2. ruoyi:
  3. # 名称
  4. name: RuoYi
  5. # 版本
  6. version: 3.8.6
  7. # 版权年份
  8. copyrightYear: 2023
  9. # 实例演示开关
  10. demoEnabled: true
  11. # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
  12. profile: /home/ruoyi/uploadPath
  13. # 获取ip地址开关
  14. addressEnabled: false
  15. # 验证码类型 math 数字计算 char 字符验证
  16. captchaType: math
  17. # 开发环境配置
  18. server:
  19. # 服务器的HTTP端口,默认为8080
  20. port: 9001
  21. servlet:
  22. # 应用的访问路径
  23. context-path: /
  24. tomcat:
  25. # tomcat的URI编码
  26. uri-encoding: UTF-8
  27. # 连接数满后的排队数,默认为100
  28. accept-count: 1000
  29. threads:
  30. # tomcat最大线程数,默认为200
  31. max: 800
  32. # Tomcat启动初始化的线程数,默认值10
  33. min-spare: 100
  34. # 日志配置
  35. logging:
  36. level:
  37. com.ruoyi: debug
  38. org.springframework: warn
  39. # 用户配置
  40. user:
  41. password:
  42. # 密码最大错误次数
  43. maxRetryCount: 5
  44. # 密码锁定时间(默认10分钟)
  45. lockTime: 10
  46. # Spring配置
  47. spring:
  48. # 资源信息
  49. messages:
  50. # 国际化资源文件路径
  51. basename: i18n/messages
  52. profiles:
  53. active: druid
  54. # 文件上传
  55. servlet:
  56. multipart:
  57. # 单个文件大小
  58. max-file-size: 10MB
  59. # 设置总上传的文件大小
  60. max-request-size: 20MB
  61. # 服务模块
  62. devtools:
  63. restart:
  64. # 热部署开关
  65. enabled: true
  66. # redis 配置
  67. redis:
  68. # 地址
  69. host: 121.40.189.20
  70. # 端口,默认为6379
  71. port: 6389
  72. # 数据库索引
  73. database: 0
  74. # 密码
  75. password:
  76. # 连接超时时间
  77. timeout: 10s
  78. lettuce:
  79. pool:
  80. # 连接池中的最小空闲连接
  81. min-idle: 0
  82. # 连接池中的最大空闲连接
  83. max-idle: 8
  84. # 连接池的最大数据库连接数
  85. max-active: 8
  86. # #连接池最大阻塞等待时间(使用负值表示没有限制)
  87. max-wait: -1ms
  88. web:
  89. resources:
  90. static-locations: file:/home/ruoyi/
  91. mail:
  92. # 邮件服务地址
  93. host: smtp.163.com
  94. # 默认端口25,可不写
  95. port: 25
  96. # 编码格式
  97. default-encoding: utf-8
  98. # 发送者用户名
  99. username: xxx@163.com
  100. # 授权码,刚才获取的代码
  101. password: xxx
  102. # 其它参数
  103. # properties:
  104. # mail:
  105. # smtp:
  106. # # 如果是用 SSL 方式,需要配置如下属性
  107. # ssl:
  108. # enable: true
  109. # required: true
  110. # # 邮件接收时间的限制,单位毫秒
  111. # timeout: 10000
  112. # # 连接时间的限制,单位毫秒
  113. # connectiontimeout: 10000
  114. # # 邮件发送时间的限制,单位毫秒
  115. # writetimeout: 10000
  116. # token配置
  117. token:
  118. # 令牌自定义标识
  119. header: Authorization
  120. # 令牌密钥
  121. secret: abcdefghijklmnopqrstuvwxyz
  122. # 令牌有效期(默认30分钟)
  123. expireTime: 30
  124. # MyBatis配置
  125. mybatis:
  126. # 搜索指定包别名
  127. typeAliasesPackage: com.ruoyi.**.domain
  128. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  129. mapperLocations: classpath*:mapper/**/*Mapper.xml
  130. # 加载全局的配置文件
  131. configLocation: classpath:mybatis/mybatis-config.xml
  132. # PageHelper分页插件
  133. pagehelper:
  134. helperDialect: mysql
  135. supportMethodsArguments: true
  136. params: count=countSql
  137. # Swagger配置
  138. swagger:
  139. # 是否开启swagger
  140. enabled: true
  141. # 请求前缀
  142. pathMapping: /dev-api
  143. # 防止XSS攻击
  144. xss:
  145. # 过滤开关
  146. enabled: true
  147. # 排除链接(多个用逗号分隔)
  148. excludes: /system/notice
  149. # 匹配链接
  150. urlPatterns: /system/*,/monitor/*,/tool/*
  151. #支付相关配置
  152. elegent:
  153. pay:
  154. wxpay:
  155. mchId: 1561414331
  156. appId: wx6592a2db3f85ed25
  157. appSecret: d9a9ff00a633cd7353a8925119063b01
  158. mchSerialNo: 25FBDE3EFD31B03A4377EB9A4A47C517969E6620
  159. apiV3Key: CZBK51236435wxpay435434323FFDuv3
  160. alipay:
  161. appId: 2021003141676135
  162. callback:
  163. domain: http://121.40.189.20:9001/
  164. watch: true
  165. cycle: 10
  166. identityAuthentication:
  167. credentialSecretId: 123
  168. credentialSecretKey: 367