springboot單模塊工程搭建---備忘錄(5)---Thymeleaf+swagger

Thymeleaf pom.xml添加依賴: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency> controller方法: 頁面資源結構: html示例: <!DOCTYPE htm
相關文章
相關標籤/搜索