杭州市委办项管
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

227 líneas
5.5KB

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