前言
springboot及cloud 日渐盛行的时代,不会点常用注解怎么出门呢? 下面来一起认识下springboot 的常用注解。
正文
一、注解列表
- @RestController
- @RequestBody
- @ResponseBody
- @RequestMapping
- @ComponentScan
- @EnableAutoConfiguration
- @Configuration
- @PathVariable
- @RequestParam
- @Mapper
- @SpringBootApplication
- @Value
- @Profile
- @GetMapping
- @PostMapping
- @PutMapping
- @DeleteMapping
二、注解详解
未完待续!