application.yml 6.6 KB

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