杭州市委办项管
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

213 lines
5.2KB

  1. server:
  2. port: 38888
  3. servlet:
  4. context-path: /pm
  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. redis:
  14. timeout: 5000
  15. host: 47.98.125.47
  16. port: 26379
  17. database: 4
  18. password: Ndkj1234
  19. jedis:
  20. pool:
  21. max-active: 200
  22. max-idle: 500
  23. min-idle: 8
  24. max-wait: 10000
  25. application:
  26. name: pm
  27. jackson:
  28. default-property-inclusion: non_null
  29. time-zone: GMT+8
  30. date-format: yyyy-MM-dd HH:mm:ss
  31. jpa:
  32. properties:
  33. hibernate:
  34. default_schema: PUBLIC
  35. hbm2ddl:
  36. auto: update
  37. show_sql: true
  38. show-sql: true
  39. hibernate:
  40. ddl-auto: update
  41. datasource:
  42. type: com.alibaba.druid.pool.DruidDataSource
  43. driverClassName: com.kingbase8.Driver
  44. # 数据源
  45. druid:
  46. url: jdbc:kingbase8://120.26.44.207:54321/nd_project_management?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
  47. username: SYSTEM
  48. password: Ndkj1234
  49. # 初始连接数
  50. initialSize: 5
  51. # 最小连接池数量
  52. minIdle: 10
  53. # 最大连接池数量
  54. maxActive: 20
  55. # 配置获取连接等待超时的时间
  56. maxWait: 60000
  57. # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
  58. timeBetweenEvictionRunsMillis: 60000
  59. # 配置一个连接在池中最小生存的时间,单位是毫秒
  60. minEvictableIdleTimeMillis: 300000
  61. # 配置一个连接在池中最大生存的时间,单位是毫秒
  62. maxEvictableIdleTimeMillis: 900000
  63. # 配置检测连接是否有效
  64. #mysql使用:SELECT 1 FROM DUAL
  65. validationQuery: SELECT 1
  66. testWhileIdle: true
  67. testOnBorrow: false
  68. testOnReturn: false
  69. webStatFilter:
  70. enabled: true
  71. statViewServlet:
  72. enabled: true
  73. # 设置白名单,不填则允许所有访问
  74. allow:
  75. url-pattern: /druid/*
  76. # 控制台管理用户名和密码
  77. login-username: admin
  78. login-password: admin
  79. filter:
  80. stat:
  81. enabled: true
  82. # 慢SQL记录
  83. log-slow-sql: true
  84. slow-sql-millis: 1000
  85. merge-sql: true
  86. wall:
  87. config:
  88. multi-statement-allow: true
  89. #设置上传 单个文件的大小
  90. servlet:
  91. multipart:
  92. max-file-size: 100MB
  93. max-request-size: 150MB
  94. mybatis-plus:
  95. configuration:
  96. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  97. global-config:
  98. db-config:
  99. logic-delete-value: true
  100. logic-not-delete-value: false
  101. logging:
  102. config: classpath:logback-spring.xml
  103. #日志配置
  104. level:
  105. root: info
  106. file:
  107. path: logs
  108. nd:
  109. cache:
  110. type: REDIS
  111. serializerType: ProtoStuff
  112. cacheNullVal: true
  113. def:
  114. keyPrefix: pm
  115. log:
  116. enabled: true
  117. type: DB
  118. # 文件存储
  119. file:
  120. storage-type: ALI_OSS
  121. ali:
  122. protocol: https://
  123. bucket: devplat
  124. urlPrefix: oss-cn-hangzhou.aliyuncs.com
  125. endpoint: oss-cn-hangzhou.aliyuncs.com
  126. accessKeyId: LTAI4GL7uypycnBjiRn55rMG
  127. accessKeySecret: qwYC7bW9bkStsko7qkLVnToAzj0Y98
  128. # 日志文件配置
  129. log:
  130. path: ./logs
  131. info:
  132. file-size: 50MB
  133. max-size: 5
  134. total-size: 200MB
  135. error:
  136. file-size: 10MB
  137. max-size: 5
  138. total-size: 50MB
  139. swagger:
  140. enabled: true
  141. flowable:
  142. async-executor-activate: true
  143. #关闭一些不需要的功能服务
  144. rest-api-enabled: false
  145. idm:
  146. enabled: false
  147. common:
  148. enabled: false
  149. dmn:
  150. enabled: false
  151. form:
  152. enabled: false
  153. app:
  154. enabled: false
  155. wflow:
  156. file:
  157. max-size: 20 #最大文件上传大小,MB
  158. sa-token:
  159. # token 名称 (同时也是cookie名称)
  160. token-name: wflowToken
  161. # token 有效期,单位s 默认30天, -1代表永不过期
  162. timeout: 172800
  163. # token 临时有效期 (指定时间内无操作就视为token过期) 单位: 秒
  164. activity-timeout: -1
  165. # 是否允许同一账号并发登录 (为true时允许一起登录, 为false时新登录挤掉旧登录)
  166. is-concurrent: true
  167. # 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token)
  168. is-share: false
  169. # token风格
  170. token-style: uuid
  171. # 是否输出操作日志
  172. is-log: false
  173. #浙政钉公司顶级organizationCode
  174. organization:
  175. dept-visible-scopes:
  176. - GO_ff70e47bae684fdba0d64f4acab85661
  177. yxt:
  178. # wsdl-url: http://115.239.137.23:9501/ws/v1?wsdl
  179. wsdl-url: classpath:/wsdl.xml
  180. #账号
  181. user-code: hzndkj
  182. #密码
  183. password: hzndkj@2021
  184. #音信通开关
  185. sms-enable: true
  186. tel-enable: true
  187. #省局联审 请求信息
  188. provincial:
  189. host: http://zj.ningdatech.com/prometheus-zhejiang_foreign
  190. pushUrl: /api/v1/foreign/importantPro
  191. detailUrl: /api/v1/foreign/importantProView
  192. key: 7196317343a64e67895dc0375c098fe7
  193. secret: 75152a97f20e4c4c854dc6301cf72ad4
  194. #天印服务器接口信息
  195. irs:
  196. seal-platform:
  197. project-id: 1
  198. project-secret: 2
  199. access-key: 3
  200. secret-key: 4
  201. api-url: https://ibcdsg.zj.gov.cn:8443/restapi/prod/IC33000020220309000004/seal-platform/seal/v1/rest/sign/signPdf
  202. hostname: iZbp13nwyvib53j4j1p2xoZ