From c738a1a6eb6a8d1f9e34190b711d68003221384d Mon Sep 17 00:00:00 2001 From: wenguang Date: Wed, 25 Mar 2020 14:37:49 +0800 Subject: [PATCH] =?UTF-8?q?thymeleaf=E9=85=8D=E7=BD=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 309b580..44cc760 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -6,20 +6,20 @@ spring: username: root password: 1234 driver-class-name: com.mysql.cj.jdbc.Driver - - thymeleaf: - prefix: classpath:/templates/ - suffix: .html - mode: LEGACYHTML5 - encoding: UTF-8 - content-type: text/html - # 禁用 thymeleaf 缓存 - cache: false - + thymeleaf: + prefix: classpath:/templates/ + suffix: .html + mode: LEGACYHTML5 + encoding: UTF-8 + content-type: text/html + # 禁用 thymeleaf 缓存 + cache: false mybatis: #注意:一定要对应mapper映射xml文件的所在路径 mapper-locations: classpath:mapper/*.xml # 注意:对应实体类的路径 type-aliases-package: com.we.pojo + # 加载全局的配置文件 + configLocation: classpath:mybatis/mybatis-config.xml -- GitLab