初始化git 基础代码
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
server:
|
||||
port: 8881 #服务端口
|
||||
spring:
|
||||
application:
|
||||
name: freemarker-demo #指定服务名
|
||||
freemarker:
|
||||
cache: false #关闭模板缓存,方便测试
|
||||
settings:
|
||||
template_update_delay: 0 #检查模板更新延迟时间,设置为0表示立即检查,如果时间大于0会有缓存不方便进行模板测试
|
||||
suffix: .ftl #指定Freemarker模板文件的后缀名
|
||||
template-loader-path: classpath:/templates/
|
||||
Reference in New Issue
Block a user