简介:SpringBoot2.xHTTP请求注解讲解和简化注解配置技巧
1、@RestController and @RequestMapping是springMVC的注解,不是springboot特有的 2、@RestController = @Controller+@ResponseBody 3、@SpringBootApplication = @Configuration+@EnableAutoConfiguration+@ComponentScan
转载于:https://www.cnblogs.com/Mblood/p/9662379.html