application.yml 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. logging:
  2. level:
  3. # 这里设置的日志级别优先于logback-spring.xml文件Loggers中的日志级别。
  4. com.ankaibei.workFlow: info
  5. config: classpath:logback-spring.xml
  6. server:
  7. port: 8077
  8. tomcat:
  9. uri-encoding: UTF-8
  10. threads:
  11. max: 100
  12. min-spare: 10
  13. servlet:
  14. encoding:
  15. force: true
  16. charset: UTF-8
  17. enabled: true
  18. context-path: /api
  19. # spring相关配置
  20. spring:
  21. application:
  22. name: application-webadmin
  23. profiles:
  24. active: product
  25. # active: dev
  26. servlet:
  27. multipart:
  28. max-file-size: 50MB
  29. max-request-size: 50MB
  30. mvc:
  31. converters:
  32. preferred-json-mapper: fastjson
  33. freemarker:
  34. template-loader-path: classpath:/template/
  35. cache: false
  36. charset: UTF-8
  37. check-template-location: true
  38. content-type: text/html
  39. expose-request-attributes: false
  40. expose-session-attributes: false
  41. request-context-attribute: request
  42. suffix: .ftl
  43. flowable:
  44. async-executor-activate: false
  45. database-schema-update: false
  46. mybatis-plus:
  47. mapper-locations: classpath:com/ankaibei/workFlow/webadmin/*/dao/mapper/*Mapper.xml,com/ankaibei/workFlow/common/log/dao/mapper/*Mapper.xml,com/ankaibei/workFlow/common/online/dao/mapper/*Mapper.xml,com/ankaibei/workFlow/common/flow/dao/mapper/*Mapper.xml
  48. type-aliases-package: com.ankaibei.workFlow.webadmin.*.model,com.ankaibei.workFlow.common.log.model,com.ankaibei.workFlow.common.online.model,com.ankaibei.workFlow.common.flow.model
  49. global-config:
  50. db-config:
  51. logic-delete-value: -1
  52. logic-not-delete-value: 1
  53. # 自动分页的配置
  54. pagehelper:
  55. helperDialect: mysql
  56. reasonable: true
  57. supportMethodsArguments: false
  58. params: count=countSql
  59. common-core:
  60. # 可选值为 mysql / postgresql / oracle
  61. databaseType: mysql
  62. common-online:
  63. # 可选值为 mysql / postgresql / oracle
  64. databaseType: mysql
  65. # 注意不要以反斜杠(/)结尾。
  66. operationUrlPrefix: /admin/online
  67. # 在线表单业务数据上传资源路径
  68. uploadFileBaseDir: ./zz-resource/upload-files/online
  69. # 如果为false,OnlineOperationController中的接口将不能使用。
  70. operationEnabled: true
  71. # 1: minio 2: aliyun-oss 3: qcloud-cos。
  72. distributeStoreType: 1
  73. # 下面的url列表,请保持反斜杠(/)结尾。
  74. viewUrlList:
  75. - ${common-online.operationUrlPrefix}/onlineOperation/viewByDatasourceId/
  76. - ${common-online.operationUrlPrefix}/onlineOperation/viewByOneToManyRelationId/
  77. - ${common-online.operationUrlPrefix}/onlineOperation/listByDatasourceId/
  78. - ${common-online.operationUrlPrefix}/onlineOperation/listByOneToManyRelationId/
  79. - ${common-online.operationUrlPrefix}/onlineOperation/exportByDatasourceId/
  80. - ${common-online.operationUrlPrefix}/onlineOperation/exportByOneToManyRelationId/
  81. - ${common-online.operationUrlPrefix}/onlineOperation/downloadDatasource/
  82. - ${common-online.operationUrlPrefix}/onlineOperation/downloadOneToManyRelation/
  83. editUrlList:
  84. - ${common-online.operationUrlPrefix}/onlineOperation/addDatasource/
  85. - ${common-online.operationUrlPrefix}/onlineOperation/addOneToManyRelation/
  86. - ${common-online.operationUrlPrefix}/onlineOperation/updateDatasource/
  87. - ${common-online.operationUrlPrefix}/onlineOperation/updateOneToManyRelation/
  88. - ${common-online.operationUrlPrefix}/onlineOperation/deleteDatasource/
  89. - ${common-online.operationUrlPrefix}/onlineOperation/deleteOneToManyRelation/
  90. - ${common-online.operationUrlPrefix}/onlineOperation/deleteBatchDatasource/
  91. - ${common-online.operationUrlPrefix}/onlineOperation/deleteBatchOneToManyRelation/
  92. - ${common-online.operationUrlPrefix}/onlineOperation/uploadDatasource/
  93. - ${common-online.operationUrlPrefix}/onlineOperation/uploadOneToManyRelation/
  94. common-online-api:
  95. # 注意不要以反斜杠(/)结尾。
  96. urlPrefix: /admin/online
  97. common-flow:
  98. # 请慎重修改urlPrefix的缺省配置,注意不要以反斜杠(/)结尾。如必须修改其他路径,请同步修改数据库脚本。
  99. urlPrefix: /admin/flow
  100. swagger:
  101. # 当enabled为false的时候,则可禁用swagger。
  102. enabled: true
  103. # 工程的基础包名。
  104. basePackage: com.ankaibei.workFlow
  105. # 工程服务的基础包名。
  106. serviceBasePackage: com.ankaibei.workFlow.webadmin
  107. title: 橙单单体服务工程
  108. description: 橙单单体服务工程详情
  109. version: 1.0
  110. datafilter:
  111. tenant:
  112. # 对于单体服务,该值始终为false。
  113. enabled: false
  114. dataperm:
  115. enabled: true
  116. # 在拼接数据权限过滤的SQL时,我们会用到sys_dept_relation表,该表的前缀由此配置项指定。
  117. # 如果没有前缀,请使用 "" 。
  118. deptRelationTablePrefix: work_
  119. # 暴露监控端点
  120. management:
  121. endpoints:
  122. web:
  123. exposure:
  124. include: '*'
  125. jmx:
  126. exposure:
  127. include: '*'
  128. endpoint:
  129. # 与中间件相关的健康详情也会被展示
  130. health:
  131. show-details: always
  132. configprops:
  133. # 在/actuator/configprops中,所有包含password的配置,将用 * 隐藏。
  134. # 如果不想隐藏任何配置项的值,可以直接使用如下被注释的空值。
  135. # keys-to-sanitize:
  136. keys-to-sanitize: password
  137. server:
  138. base-path: "/"
  139. common-log:
  140. # 操作日志配置,对应配置文件common-log/OperationLogProperties.java
  141. operation-log:
  142. enabled: true
  143. aj:
  144. captcha:
  145. # 缓存local/redis..
  146. cache-type: redis
  147. # 验证码类型default两种都实例化。
  148. type: default
  149. # 右下角水印文字(我的水印)
  150. water-mark: 我的水印
  151. #点选字体样式 默认Font.BOLD
  152. font-style: 1
  153. #点选字体字体大小
  154. font-size: 25
  155. # 支持项目路径,以classpath:开头,取resource目录下路径,例:classpath:images/jigsaw
  156. jigsaw: classpath:images/jigsaw
  157. # 支持项目路径,以classpath:开头,取resource目录下路径,例:classpath:images/pic-click
  158. pic-click: classpath:images/pic-click
  159. history-data-clear-enable: false
  160. # 接口请求次数一分钟限制是否开启 true|false
  161. req-frequency-limit-enable: false
  162. # 验证失败5次,get接口锁定
  163. req-get-lock-limit: 5
  164. # 验证失败后,锁定时间间隔,s
  165. req-get-lock-seconds: 360
  166. # get接口一分钟内请求数限制
  167. req-get-minute-limit: 30
  168. # check接口一分钟内请求数限制
  169. req-check-minute-limit: 30
  170. # verify接口一分钟内请求数限制
  171. req-verify-minute-limit: 60
  172. # 校验滑动拼图允许误差偏移量(默认5像素)
  173. slip-offset: 5
  174. # aes加密坐标开启或者禁用(true|false)
  175. aes-status: true
  176. # 滑动干扰项(0/1/2)
  177. interference-options: 2