Commit 4b7f74125fa11c0631bfd493096bb58d801a94f8

Authored by 陈浩
2 parents 0d141b66 24231009
src/main/resources/application.properties
@@ -10,6 +10,11 @@ spring.jpa.properties.hibernate.hbm2ddl.auto=update @@ -10,6 +10,11 @@ spring.jpa.properties.hibernate.hbm2ddl.auto=update
10 spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect 10 spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
11 spring.jpa.show-sql= true 11 spring.jpa.show-sql= true
12 12
  13 +server.tomcat.uri-encoding=UTF-8
  14 +spring.http.encoding.charset=UTF-8
  15 +spring.http.encoding.enabled=true
  16 +spring.http.encoding.force=true
  17 +
13 spring.thymeleaf.mode=LEGACYHTML5 18 spring.thymeleaf.mode=LEGACYHTML5
14 #spring.thymeleaf.encoding=UTF-8 19 #spring.thymeleaf.encoding=UTF-8
15 #spring.thymeleaf.content-type=text/html 20 #spring.thymeleaf.content-type=text/html