application.properties 配置
spring.datasource.url= jdbc:mysql://127.0.0.1:3306/xxx?useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=GMT%2B8
spring.datasource.username=root
spring.datasource.password=xxx // 数据库密码
server.port=3000 // 端口开在本地3000
server.tomcat.uri-encoding=UTF-8
spring.thymeleaf.cache=false
spring.thymeleaf.encoding=UTF-8
浙公网安备 33010602011771号