application.yml 914 B

12345678910111213141516171819202122232425262728293031323334
  1. spring:
  2. datasource:
  3. username: root
  4. hikari:
  5. password: root1120
  6. url: jdbc:mysql://localhost:3306/boot?useUnicode=true&characterEncoding=utf-8
  7. driver-class-name: com.mysql.cj.jdbc.Driver
  8. devtools:
  9. restart:
  10. enabled: true #开启热部署
  11. additional-paths: src/main/java #重启目录
  12. exclude: WEB-INF/**
  13. freemarker:
  14. cache: false #页面不加载缓存,修改即时生效
  15. mail:
  16. host: smtp.163.com
  17. username: li11207555@163.com
  18. password: IEARUTBPSQTZULIX
  19. port: 465
  20. properties:
  21. from: li11207555@163.com
  22. mail:
  23. smtp:
  24. socketFactory:
  25. class: javax.net.ssl.SSLSocketFactory
  26. server:
  27. port: 9090
  28. mybatis:
  29. mapper-locations: classpath:mapper/*
  30. # configuration:
  31. mybatis-plus:
  32. configuration:
  33. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  34. # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl