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

225 lines
5.5KB

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