application-dev.yml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. server:
  2. port: 8082
  3. spring:
  4. application:
  5. name: costAccount
  6. datasource:
  7. druid:
  8. driver-class-name: com.mysql.jdbc.Driver
  9. url: jdbc:mysql://112.124.59.133:3306/cost_account?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  10. username: root
  11. password: zjxy!@#2021
  12. initial-size: 10
  13. max-active: 100
  14. min-idle: 10
  15. max-wait: 600000
  16. pool-prepared-statements: true
  17. max-pool-prepared-statement-per-connection-size: 20
  18. time-between-eviction-runs-millis: 60000
  19. min-evictable-idle-time-millis: 300000
  20. type: com.alibaba.druid.pool.DruidDataSource
  21. jackson:
  22. date-format: yyyy-MM-dd hh:mm:ss
  23. time-zone: GMT+8
  24. default-property-inclusion: non_null
  25. #redis
  26. redis:
  27. port: 6379
  28. host: 112.124.59.133
  29. password:
  30. jedis:
  31. pool:
  32. max-active: 30
  33. max-idle: 10
  34. max-wait: -1
  35. min-idle: 0
  36. mybatis-plus:
  37. mapper-locations: classpath*:/mapper/*.xml
  38. type-aliases-package: com.imed.costaccount.model
  39. configuration:
  40. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  41. global-config:
  42. db-config:
  43. id-type: auto
  44. logic-not-delete-value: NULL
  45. logic-delete-value: UNIX_TIMESTAMP(NOW()) * 1000
  46. banner: false
  47. #日志
  48. # log config
  49. logging:
  50. config: classpath:log4j2.xml
  51. level:
  52. io.swagger.models.parameters.AbstractSerializableParameter: error