application-dev.yml 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. spring:
  2. datasource:
  3. driver-class-name: com.mysql.cj.jdbc.Driver
  4. url: jdbc:mysql://bj-cdb-nbje9oq2.sql.tencentcdb.com:59747/yzky_dev?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2B8&allowMultiQueries=true
  5. username: yzky
  6. password: XxMziITdKF0pw0y
  7. jpa:
  8. show-sql: true # 开启控制台SQL日志
  9. hibernate:
  10. ddl-auto: update # 自动创建、更新或验证数据库表结构
  11. database-platform: org.hibernate.dialect.MySQL5InnoDBDialect # 指定数据库方言
  12. redis:
  13. database: 0
  14. host: 82.157.27.202
  15. port: 6379
  16. password: hSx8nUrQkR7ZKaw # 密码为空则不设置此项或设置为null
  17. timeout: 10000ms # 连接超时时间(毫秒)
  18. lettuce:
  19. pool:
  20. max-active: 8 # 连接池最大连接数(负值为没有限制)
  21. max-wait: -1ms # 连接池最大阻塞等待时间(负值为没有限制)
  22. max-idle: 8 # 连接池中的最大空闲连接
  23. min-idle: 0 # 连接池中的最小空闲连接
  24. param:
  25. #专网地址
  26. local-url: http://10.152.101.6:8080/net-diag-service/test-openapi/api
  27. #外网地址
  28. url: https://imssp.wsjk.tj.gov.cn/net-diag-service/test-openapi/api
  29. #一次性数据提交限制的数量
  30. listNumber: 1000