柯桥增值式服务
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

application-dev.yml 3.7KB

vor 8 Monaten
vor 8 Monaten
vor 8 Monaten
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. server:
  2. port: 33060
  3. servlet:
  4. context-path: /kq
  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: kq
  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. driver-class-name: com.mysql.cj.jdbc.Driver
  45. url: ENC(aMGW3+FFqxyutRz9liYjAg+A72b6IQ7/ygtxO0DmQJ/LLFZkx8r4MhN8quv9L62nQ4sH55qFg+LnQoor/t8IqBACrbfNg462YNKnRyMsBmdHHxJm7i57flIQfePLDW93Omz4LZ2PbRZTvPcLLYtnQyxXSDPwDnjexHNVXTdxwuTJPBqthsVpvyA2mnn5Szef)
  46. username: root
  47. password: ENC(NHFdgnNk7opRJpNnZOJs51OTXb72zU//)
  48. # 数据源
  49. hikari:
  50. # 是客户端等待连接池连接的最大毫秒数
  51. connection-timeout: 30000
  52. # 是允许连接在连接池中空闲的最长时间
  53. minimum-idle: 5
  54. # 配置最大池大小
  55. maximum-pool-size: 300
  56. # 是允许连接在连接池中空闲的最长时间(以毫秒为单位)
  57. idle-timeout: 60000
  58. # 池中连接关闭后的最长生命周期(以毫秒为单位)
  59. max-lifetime: 600000
  60. # 配置从池返回的连接的默认自动提交行为。默认值为true。
  61. auto-commit: true
  62. # 开启连接监测泄露
  63. leak-detection-threshold: 500000
  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: true
  77. logic-not-delete-value: false
  78. logic-delete-field: deleted
  79. logging:
  80. config: classpath:logback-spring.xml
  81. #日志配置
  82. level:
  83. root: info
  84. file:
  85. path: logs
  86. nd:
  87. cache:
  88. type: REDIS
  89. serializerType: ProtoStuff
  90. cacheNullVal: true
  91. def:
  92. keyPrefix: kq
  93. log:
  94. enabled: true
  95. type: DB
  96. # 文件存储
  97. file:
  98. storage-type: ALI_OSS
  99. ali:
  100. protocol: https://
  101. bucket: devplat
  102. urlPrefix: oss-cn-hangzhou.aliyuncs.com
  103. endpoint: oss-cn-hangzhou.aliyuncs.com
  104. accessKeyId: LTAI4GL7uypycnBjiRn55rMG
  105. accessKeySecret: qwYC7bW9bkStsko7qkLVnToAzj0Y98
  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. hostname: iZbp13nwyvib53j4j1p2xoZ
  120. jasypt:
  121. encryptor:
  122. password: CodeSheep
  123. # 指定解密算法,需要和加密时使用的算法一致
  124. algorithm: PBEWithMD5AndDES
  125. # 指定initialization vector类型
  126. iv-generator-classname: org.jasypt.iv.NoIvGenerator
  127. sso:
  128. access-key: BCDSGA_c2494577610c90bdc33b95514601da2c
  129. secret-key: BCDSGS_80bf0a606c0d2fd3201bd06a4f008250
  130. app-id: 2002399646
  131. token:
  132. internet-url: https://ibcdsg.zj.gov.cn:8443/restapi/prod/IC33000020220329000007/uc/sso/access_token
  133. zww-url: https://bcdsg.zj.gov.cn:8443/restapi/prod/IC33000020220329000007/uc/sso/access_token
  134. user-info:
  135. internet-url: https://ibcdsg.zj.gov.cn:8443/restapi/prod/IC33000020220329000008/uc/sso/getUserInfo
  136. zww-url: https://bcdsg.zj.gov.cn:8443/restapi/prod/IC33000020220329000008/uc/sso/getUserInfo