依赖
1 | <dependency> |
config
参考[https://docs.spring.io/spring-boot/docs/2.0.1.RELEASE/reference/htmlsingle/#common-application-properties]
WEB PROPERTIES 部分
thymeleaf
参考[https://www.thymeleaf.org/documentation.html]
ModelAndView
json
- @RestController
相关注解
- @Controller
- @RestController
- @GetMapping
- @PostMapping
- @PutMapping
- @DeleteMapping