application-local.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. server:
  2. port: 8088
  3. spring:
  4. datasource:
  5. url: jdbc:mysql://localhost:3306/item-management?autoReconnect=true&useUnicode=true&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true
  6. username: root
  7. password: 914851221
  8. initialSize: 10 #初始化连接数D
  9. minIdle: 10 #最小空闲连接数
  10. max-active: 100 #最大连接数
  11. maxWait: 60000 #最大等待时间ms(获取不到连接后多久超时)
  12. hikari:
  13. minimum-idle: 5
  14. maximum-pool-size: 200
  15. connection-timeout: 30000
  16. idle-timeout: 600000
  17. max-lifetime: 1800000
  18. dfs:
  19. path: G:\upload
  20. domain: G:\upload
  21. domainName: https://kps.scdayou.com/dfs
  22. code: G:\code
  23. advice:
  24. file:
  25. tmp: tmp
  26. #系统配置
  27. system:
  28. login:
  29. error-limit:
  30. lock-time: 30 #登录错误达到限制次数账号锁定时间(单位:分钟),默认30分钟
  31. #百度编辑器
  32. ueditor:
  33. uploadPath: ${dfs.path}
  34. urlPrefix: replaceurl #动态替换url