提交 c738a1a6 编写于 作者: W wenguang

thymeleaf配置修改

上级 333e0319
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册