杭州市委办项管
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.

261 lines
6.4KB

  1. server:
  2. port: 8002
  3. servlet:
  4. context-path: /hzpm
  5. #最大并发数,默认200
  6. tomcat:
  7. threads:
  8. max: 600
  9. shutdown: graceful
  10. spring:
  11. mvc:
  12. pathmatch:
  13. matching-strategy: ant_path_matcher
  14. session:
  15. store-type: redis
  16. redis:
  17. namespace: "spring:session"
  18. redis:
  19. timeout: 5000
  20. host: localhost
  21. port: 6379
  22. database: 0
  23. password:
  24. jedis:
  25. pool:
  26. max-active: 200
  27. max-idle: 500
  28. min-idle: 8
  29. max-wait: 10000
  30. application:
  31. name: hzpm
  32. jackson:
  33. default-property-inclusion: non_null
  34. time-zone: GMT+8
  35. date-format: yyyy-MM-dd HH:mm:ss
  36. jpa:
  37. properties:
  38. hibernate:
  39. default_schema: PUBLIC
  40. hbm2ddl:
  41. auto: update
  42. show_sql: true
  43. show-sql: true
  44. hibernate:
  45. ddl-auto: update
  46. datasource:
  47. type: com.zaxxer.hikari.HikariDataSource
  48. driverClassName: dm.jdbc.driver.DmDriver
  49. url: jdbc:dm://10.54.38.191:5236/HZ_PROJECT_MANAGEMENT?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
  50. username: XMXTGL
  51. password: XMXTGL@2023
  52. # 数据源
  53. hikari:
  54. # 是客户端等待连接池连接的最大毫秒数
  55. connection-timeout: 30000
  56. # 是允许连接在连接池中空闲的最长时间
  57. minimum-idle: 20
  58. # 配置最大池大小
  59. maximum-pool-size: 200
  60. # 是允许连接在连接池中空闲的最长时间(以毫秒为单位)
  61. idle-timeout: 60000
  62. # 池中连接关闭后的最长生命周期(以毫秒为单位)
  63. max-lifetime: 600000
  64. # 配置从池返回的连接的默认自动提交行为。默认值为true。
  65. auto-commit: true
  66. # 开启连接监测泄露
  67. leak-detection-threshold: 5000
  68. # 测试连接数据库
  69. connection-test-query: SELECT 1
  70. #设置上传 单个文件的大小
  71. servlet:
  72. multipart:
  73. max-file-size: 100MB
  74. max-request-size: 150MB
  75. mybatis-plus:
  76. configuration:
  77. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  78. global-config:
  79. db-config:
  80. logic-delete-value: 1
  81. logic-not-delete-value: 0
  82. logging:
  83. config: classpath:logback-spring.xml
  84. #日志配置
  85. level:
  86. root: info
  87. file:
  88. path: logs
  89. nd:
  90. cache:
  91. type: REDIS
  92. serializerType: ProtoStuff
  93. cacheNullVal: true
  94. def:
  95. keyPrefix: pm
  96. log:
  97. enabled: true
  98. type: DB
  99. keep-days: 365
  100. # 文件存储
  101. file:
  102. storage-type: ALI_OSS
  103. ali:
  104. protocol: http://
  105. bucket: szxcxtoss
  106. urlPrefix: oss-cn-hangzhou-hzltzwy-d01-a.ops.hzegcxc.cn
  107. endpoint: oss-cn-hangzhou-hzltzwy-d01-a.ops.hzegcxc.cn
  108. accessKeyId: LNoIzKV82OvTJrKI
  109. accessKeySecret: QI9y9jGqAbPXGn3oz1JHlbvsJQEnUo
  110. rootPath: hzpm
  111. # 日志文件配置
  112. log:
  113. path: ./logs
  114. info:
  115. file-size: 50MB
  116. max-size: 30
  117. total-size: 2048MB
  118. error:
  119. file-size: 10MB
  120. max-size: 30
  121. total-size: 300MB
  122. swagger:
  123. enabled: false
  124. flowable:
  125. async-executor-activate: true
  126. #关闭一些不需要的功能服务
  127. rest-api-enabled: false
  128. # database-schema-update: false
  129. idm:
  130. enabled: false
  131. common:
  132. enabled: false
  133. dmn:
  134. enabled: false
  135. form:
  136. enabled: false
  137. app:
  138. enabled: false
  139. database-schema: HZ_PROJECT_MANAGEMENT
  140. wflow:
  141. file:
  142. max-size: 20 #最大文件上传大小,MB
  143. sa-token:
  144. # token 名称 (同时也是cookie名称)
  145. token-name: wflowToken
  146. # token 有效期,单位s 默认30天, -1代表永不过期
  147. timeout: 172800
  148. # token 临时有效期 (指定时间内无操作就视为token过期) 单位: 秒
  149. activity-timeout: -1
  150. # 是否允许同一账号并发登录 (为true时允许一起登录, 为false时新登录挤掉旧登录)
  151. is-concurrent: true
  152. # 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token)
  153. is-share: false
  154. # token风格
  155. token-style: uuid
  156. # 是否输出操作日志
  157. is-log: false
  158. #浙政钉公司顶级organizationCode
  159. organization:
  160. dept-visible-scopes:
  161. - GO_c1a6f8d5338e4a468337b08da76e2e31
  162. login:
  163. phone-verify-code:
  164. skip: false
  165. url: http://60.188.225.145/login
  166. web:
  167. login:
  168. url: https://hzszxc.hzswb.cn:8443/project
  169. api:
  170. url: https://hzszxc.hzswb.cn:8443/hzpm
  171. zzd-api:
  172. url: https://weixin.hzszxc.hzswb.cn:8143/hzpm
  173. mh:
  174. sso:
  175. client-id: ningda-74a5e5da-3bc3-414a-b9e6-004b7d87e310
  176. client-secret: ningda-df746ce4-0c79-4242-b3c7-90ff8630c9742c6727cd-3ae7-48ae-87ad-2b39188ebabd
  177. zwdd-work-notice:
  178. client-id: ningda-74a5e5da-3bc3-414a-b9e6-004b7d87e310
  179. client-secret: ningda-df746ce4-0c79-4242-b3c7-90ff8630c9742c6727cd-3ae7-48ae-87ad-2b39188ebabd
  180. api-host: http://10.54.38.13:8081/mh-gateway/auth-single
  181. expert-qr-code-url: http://10.54.38.13:8081/mh-gateway/problem/expert/getExpertQrCode
  182. file:
  183. detail-url: http://10.54.38.13:8081/mh-gateway/oss/ossfile/getFileInfoList
  184. down-url: http://10.54.38.13:8081/mh-gateway/oss/oss/downloadFileNotLogin
  185. upload-url: http://10.54.38.13:8081/mh-gateway/oss/oss/uploadFileSkipLogin
  186. purchase-notice:
  187. open: true
  188. file-preview:
  189. public-host: http://ztzz2.hzswb.cn/yl
  190. private-host: http://172.18.43.208/yl
  191. sms-send:
  192. host: http://10.54.38.13:8081/mh-gateway/auth-single
  193. sms-client:
  194. host: http://10.54.38.13:8081/mh-gateway/auth-single
  195. open: true
  196. sync-mh-company:
  197. open: false
  198. sync-mh-user:
  199. open: true
  200. sync-mh-expert:
  201. open: false
  202. sync-mh-unit:
  203. open: false
  204. auth-code:
  205. secret-key: uqrvd2bani4fercnisua1cqxjwk1neym
  206. agent-login:
  207. proxy:
  208. secret-key: tqkwiqojg5j4eiypr3rb8w7nb4noa8b2
  209. # 提醒任务
  210. reminder-task:
  211. declared-record:
  212. open: false
  213. cron: 0 30 8 * * ?
  214. # 电话服务调用地址
  215. mobile-call:
  216. host: http://10.54.21.185:18085/blue_esl_api
  217. hz-pm:
  218. interfaceKey: hz_meeting_expert_info
  219. thread-pool-util:
  220. request:
  221. core-pool-size: 5
  222. max-pool-size: 10
  223. queue-capacity: 200
  224. keep-alive-seconds: 120
  225. thread-name-prefix: request-executor-
  226. scheduler:
  227. core-pool-size: 3
  228. thread-name-prefix: scheduler-executor-
  229. # 工作流线程池配置
  230. wflow-thread-pool-util:
  231. scheduler:
  232. core-pool-size: 3
  233. thread-name-prefix: wflow-thread-scheduler-
  234. executor:
  235. core-pool-size: 3
  236. thread-name-prefix: wflow-thread-executor-
  237. queue-capacity: 300
  238. keep-alive-seconds: 120
  239. max-pool-size: 6
  240. random-invite:
  241. thread-pool-properties:
  242. core-pool-size: 3
  243. thread-name-prefix: expert-invite-executor-
  244. early-warning-without-submit:
  245. open: true
  246. major-project-eval:
  247. open: true
  248. cron: 0 0/5 6-22 * * ?