柯桥增值式服务
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

147 linhas
3.7KB

  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(gtE4OUrpgtFsh6B3aLiSp2sVSX1BYDET9Uii/wRP2RboRK0NDaYu1S7Vx30cHXFE7vecQzY1UbrSFW/BaWJvQ3XJxfDiaUxdrIDND5e+DMTjx1pUkfS8/RbXHQDE+QoOVZV1UKEtdq+khr32tlQXqkTnzmZGuZjctVmjdQxUnmI2YNpoeNlIAkDXiaCvcVYc)
  49. username: root
  50. password: Nd@20231116
  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: false
  122. hostname: iZut201mqskxt0mwme4tjfZ
  123. jasypt:
  124. encryptor:
  125. password: CodeSheep
  126. algorithm: PBEWithMD5AndDES
  127. # 指定initialization vector类型
  128. iv-generator-classname: org.jasypt.iv.NoIvGenerator
  129. sso:
  130. access-key: BCDSGA_c2494577610c90bdc33b95514601da2c
  131. secret-key: BCDSGS_80bf0a606c0d2fd3201bd06a4f008250
  132. app-id: 2002399646
  133. token:
  134. internet-url: https://ibcdsg.zj.gov.cn:8443/restapi/prod/IC33000020220329000007/uc/sso/access_token
  135. zww-url: https://bcdsg.zj.gov.cn:8443/restapi/prod/IC33000020220329000007/uc/sso/access_token
  136. user-info:
  137. internet-url: https://ibcdsg.zj.gov.cn:8443/restapi/prod/IC33000020220329000008/uc/sso/getUserInfo
  138. zww-url: https://bcdsg.zj.gov.cn:8443/restapi/prod/IC33000020220329000008/uc/sso/getUserInfo