diff --git a/pom.xml b/pom.xml index 5899e19..c833cf2 100644 --- a/pom.xml +++ b/pom.xml @@ -45,7 +45,15 @@ spring-boot-starter-test test - + + org.springframework.boot + spring-boot-starter-data-jpa + + + org.springframework.boot + spring-boot-starter-thymeleaf + + diff --git a/src/main/resources/templates/text.html b/src/main/resources/templates/text.html new file mode 100644 index 0000000..c580439 --- /dev/null +++ b/src/main/resources/templates/text.html @@ -0,0 +1,16 @@ + + + + + test + + +

静态信息显示实例

+ + + + + +
消息:th:text="${messageCount}"
+ + \ No newline at end of file