springboot freemarker配置

#freemarker========================配置
spring.freemarker.allow-request-override=false  
spring.freemarker.cache=true  
spring.freemarker.check-template-location=true  
spring.freemarker.charset=UTF-8  
spring.freemarker.content-type=text/html  
spring.freemarker.expose-request-attributes=false  
spring.freemarker.expose-session-attributes=false  
spring.freemarker.expose-spring-macro-helpers=false  
spring.freemarker.suffix=.ftl  
spring.freemarker.template-loader-path=classpath:/templates/views/
spring.freemarker.settings.number_format=0.##
#freemarker========================配置

 

你可能感兴趣的:(SpringBoot)