application.properties 967 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. server.port=8080
  2. spring.servlet.multipart.max-file-size=10MB
  3. spring.servlet.multipart.max-request-size=100MB
  4. spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
  5. spring.jackson.time-zone=GMT+8
  6. #??thymeleaf
  7. #??html
  8. spring.thymeleaf.mode=HTML
  9. spring.thymeleaf.encoding=UTF-8
  10. spring.thymeleaf.cache=false
  11. spring.web.resources.static-locations=classpath:/templates/
  12. adminName=admin
  13. age=18
  14. adminId=123
  15. user1.userId=1001
  16. user1.userName=Tom
  17. user1.hireDate=2020-12-12 22:22:22
  18. # ?????
  19. spring.datasource.url=jdbc:mysql://localhost:3306/mybatis?characterEncoding=utf-8&useUnicode=true&serverTimezone=GMT%2B8
  20. spring.datasource.username=root
  21. spring.datasource.password=root
  22. # mybatis??
  23. mybatis.mapper-locations=classpath:mapper/*Mapper.xml
  24. mybatis.type-aliases-package=com.sf.springboot.entity
  25. mybatis.config-location=classpath:mybatis-config.xml
  26. # ????(????)
  27. http.encoding.charset=UTF-8
  28. http.encoding.force=true
  29. http.encoding.enabled=true
  30. server.tomcat.uri-encoding=UTF-8