指直将模板位置指向文件路径:
spring: thymeleaf: #prefix: classpath:/templates/ prefix: file:/E:/Projects/metercopy/hzau-meter-copy/meter-center-service/src/main/resources/pub/templates/ cache: false encoding: UTF-8 servlet: content-type: text/html
参考:
指直将模板位置指向文件路径:
spring: thymeleaf: #prefix: classpath:/templates/ prefix: file:/E:/Projects/metercopy/hzau-meter-copy/meter-center-service/src/main/resources/pub/templates/ cache: false encoding: UTF-8 servlet: content-type: text/html
参考:
评论已关闭