柯桥增值式服务
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.

159 lines
4.4KB

  1. server:
  2. port: 33061
  3. servlet:
  4. context-path: /kq
  5. shutdown: graceful
  6. cookie:
  7. path: ${server.servlet.context-path}
  8. spring:
  9. mvc:
  10. pathmatch:
  11. matching-strategy: ant_path_matcher
  12. session:
  13. store-type: redis
  14. redis:
  15. namespace: "spring:session"
  16. timeout: 864000
  17. redis:
  18. timeout: 5000
  19. host: 47.98.125.47
  20. port: 26379
  21. database: 7
  22. password: Ndkj1234
  23. jedis:
  24. pool:
  25. max-active: 200
  26. max-idle: 500
  27. min-idle: 8
  28. max-wait: 10000
  29. application:
  30. name: kq
  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. driver-class-name: com.mysql.cj.jdbc.Driver
  48. url: ENC(aMGW3+FFqxyutRz9liYjAg+A72b6IQ7/ygtxO0DmQJ/LLFZkx8r4MhN8quv9L62nQ4sH55qFg+LnQoor/t8IqBACrbfNg462YNKnRyMsBmdHHxJm7i57flIQfePLDW93Omz4LZ2PbRZTvPcLLYtnQyxXSDPwDnjexHNVXTdxwuTJPBqthsVpvyA2mnn5Szef)
  49. username: root
  50. password: ENC(NHFdgnNk7opRJpNnZOJs51OTXb72zU//)
  51. # 数据源
  52. hikari:
  53. # 是客户端等待连接池连接的最大毫秒数
  54. connection-timeout: 30000
  55. # 是允许连接在连接池中空闲的最长时间
  56. minimum-idle: 5
  57. # 配置最大池大小
  58. maximum-pool-size: 300
  59. # 是允许连接在连接池中空闲的最长时间(以毫秒为单位)
  60. idle-timeout: 60000
  61. # 池中连接关闭后的最长生命周期(以毫秒为单位)
  62. max-lifetime: 600000
  63. # 配置从池返回的连接的默认自动提交行为。默认值为true。
  64. auto-commit: true
  65. # 开启连接监测泄露
  66. leak-detection-threshold: 500000
  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: true
  80. logic-not-delete-value: false
  81. logic-delete-field: deleted
  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: kq
  96. log:
  97. enabled: true
  98. type: DB
  99. # 文件存储
  100. file:
  101. storage-type: ALI_OSS
  102. ali:
  103. protocol: https://
  104. bucket: devplat
  105. urlPrefix: oss-cn-hangzhou.aliyuncs.com
  106. endpoint: oss-cn-hangzhou.aliyuncs.com
  107. accessKeyId: LTAI4GL7uypycnBjiRn55rMG
  108. accessKeySecret: qwYC7bW9bkStsko7qkLVnToAzj0Y98
  109. # 日志文件配置
  110. log:
  111. path: ./logs
  112. info:
  113. file-size: 50MB
  114. max-size: 5
  115. total-size: 200MB
  116. error:
  117. file-size: 10MB
  118. max-size: 5
  119. total-size: 50MB
  120. swagger:
  121. enabled: true
  122. sys:
  123. web-url: http://kqzh.ningdatech.com
  124. hostname: iZbp13nwyvib53j4j1p2xoZ
  125. jasypt:
  126. encryptor:
  127. password: CodeSheep
  128. # 指定解密算法,需要和加密时使用的算法一致
  129. algorithm: PBEWithMD5AndDES
  130. # 指定initialization vector类型
  131. iv-generator-classname: org.jasypt.iv.NoIvGenerator
  132. sso:
  133. access-key: BCDSGA_c2494577610c90bdc33b95514601da2c
  134. secret-key: BCDSGS_80bf0a606c0d2fd3201bd06a4f008250
  135. app-id: 2002399646
  136. token:
  137. internet-url: https://ibcdsg.zj.gov.cn:8443/restapi/prod/IC33000020220329000007/uc/sso/access_token
  138. zww-url: https://bcdsg.zj.gov.cn:8443/restapi/prod/IC33000020220329000007/uc/sso/access_token
  139. user-info:
  140. internet-url: https://ibcdsg.zj.gov.cn:8443/restapi/prod/IC33000020220329000008/uc/sso/getUserInfo
  141. zww-url: https://bcdsg.zj.gov.cn:8443/restapi/prod/IC33000020220329000008/uc/sso/getUserInfo
  142. irs:
  143. interface-refresh:
  144. method: POST
  145. request-token-url: http://interface.zjzwfw.gov.cn/gateway/app/refreshTokenByKey.htm
  146. refresh-token-url: http://interface.zjzwfw.gov.cn/gateway/app/refreshTokenBySec.htm
  147. item-basic-info:
  148. appSecret: oUu7hk5NnOBghTw
  149. appKey: qlZDZwhFWx
  150. listUrl: https://typt.kq.gov.cn:8888/datashare/rest/query/U0022S00160/V1?apiUuid=C9030E259C6C43BBAA89DDF36F2386B0
  151. detailUrl: https://typt.kq.gov.cn:8888/gateway/datashare/rest/query/U0022S00159/V1?apiUuid=14ED96404A834101992F00B4F6BBC7ED