提交 5ca4749b authored 作者: jianglw's avatar jianglw

去除thymeleaf

上级 ae4d5f29
...@@ -122,10 +122,10 @@ ...@@ -122,10 +122,10 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-quartz</artifactId> <artifactId>spring-boot-starter-quartz</artifactId>
</dependency> </dependency>
<dependency> <!-- <dependency>-->
<groupId>org.springframework.boot</groupId> <!-- <groupId>org.springframework.boot</groupId>-->
<artifactId>spring-boot-starter-thymeleaf</artifactId> <!-- <artifactId>spring-boot-starter-thymeleaf</artifactId>-->
</dependency> <!-- </dependency>-->
<dependency> <dependency>
<groupId>org.reflections</groupId> <groupId>org.reflections</groupId>
<artifactId>reflections</artifactId> <artifactId>reflections</artifactId>
......
...@@ -30,10 +30,10 @@ public class IndexController extends BaseController { ...@@ -30,10 +30,10 @@ public class IndexController extends BaseController {
@Autowired @Autowired
private StringRedisTemplate stringRedisTemplate; private StringRedisTemplate stringRedisTemplate;
@RequestMapping("/") // @RequestMapping("/")
public String index() { // public String index() {
return "index"; // return "index";
} // }
/** /**
* 保存组态数据 * 保存组态数据
......
...@@ -30,9 +30,6 @@ spring: ...@@ -30,9 +30,6 @@ spring:
static-path-pattern: /** static-path-pattern: /**
resource: resource:
static-locations: classpath:/static/ static-locations: classpath:/static/
thymeleaf:
mode: LEGACYHTML5
cache: false
datasource: datasource:
druid: druid:
stat-view-servlet: stat-view-servlet:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论