提交 be38c4fd authored 作者: 孙洁清's avatar 孙洁清

Merge branch 'lj-project' of git.yfzx.zjtys.com.cn:912-system/monitor/inspect into lj-project

# Conflicts: # src/main/java/com/zjty/inspect/utils/DocumentWordUtil.java
上级 2ed9be4c
...@@ -32,7 +32,7 @@ public class MvcConfig extends WebMvcConfigurationSupport { ...@@ -32,7 +32,7 @@ public class MvcConfig extends WebMvcConfigurationSupport {
registry.addResourceHandler("doc.html").addResourceLocations("classpath:/META-INF/resources/"); registry.addResourceHandler("doc.html").addResourceLocations("classpath:/META-INF/resources/");
registry.addResourceHandler("/webjars/**") registry.addResourceHandler("/webjars/**")
.addResourceLocations("classpath:/META-INF/resources/webjars/"); .addResourceLocations("classpath:/META-INF/resources/webjars/");
registry.addResourceHandler("/**") registry.addResourceHandler("/templates/**")
.addResourceLocations("classpath:/META-INF/resources/templates/"); .addResourceLocations("classpath:/META-INF/resources/templates/");
registry.addResourceHandler("/static/**") registry.addResourceHandler("/static/**")
.addResourceLocations("classpath:/static/"); .addResourceLocations("classpath:/static/");
......
...@@ -191,7 +191,7 @@ public class EvaluationController { ...@@ -191,7 +191,7 @@ public class EvaluationController {
}else{ }else{
wps.put("agree", "不同意"); wps.put("agree", "不同意");
} }
String w = FreeMakerUtils.parseTpl("报告模板", wps); String w = FreeMakerUtils.parseTpl("reportTemplate", wps);
if(w==null){ if(w==null){
return ResponseEntity.status(500).build(); return ResponseEntity.status(500).build();
} }
......
...@@ -61,7 +61,7 @@ spring.jackson.time-zone=GMT ...@@ -61,7 +61,7 @@ spring.jackson.time-zone=GMT
spring.freemarker.charset=UTF-8 spring.freemarker.charset=UTF-8
spring.freemarker.suffix=.ftl spring.freemarker.suffix=.ftl
spring.freemarker.content-type=text/html; charset=utf-8 spring.freemarker.content-type=text/html; charset=utf-8
spring.freemarker.template-loader-path=classpath:/templates spring.freemarker.template-loader-path=classpath:/templates/
#spring.redis.host=127.0.0.1 #spring.redis.host=127.0.0.1
##Redis\u670D\u52A1\u5668\u8FDE\u63A5\u7AEF\u53E3 ##Redis\u670D\u52A1\u5668\u8FDE\u63A5\u7AEF\u53E3
#spring.redis.port=6379 #spring.redis.port=6379
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论