沈先生`~
-
Spring 注解
@SpringBootApplication 申明让spring boot自动给程序进行必要的配置,这个配置等同于: @Configuration ,@EnableAutoConfiguration 和 @ComponentScan 三个配置。 @RequestMapping 提供路由信息,负责URL到Controller中的具体函数的映射。 @Respon…
@SpringBootApplication 申明让spring boot自动给程序进行必要的配置,这个配置等同于: @Configuration ,@EnableAutoConfiguration 和 @ComponentScan 三个配置。 @RequestMapping 提供路由信息,负责URL到Controller中的具体函数的映射。 @Respon…