From 0276c02f46f55bc80c57ac4a178cec40adccf32b Mon Sep 17 00:00:00 2001 From: Diamond <2821090336@qq.com> Date: Sat, 22 Jun 2024 23:54:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 10 +++++++++- src/main/resources/templates/text.html | 16 ++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/templates/text.html 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