2022
03-09
03-09
全面汇总SpringBoot和SpringClould常用注解
目录什么是注解?一、SpringBoot注解1.1.@SpringBootApplication1.2.@Repository1.3.@Service1.4.@RestController1.5.@ResponseBody1.6.@Component1.7.@ComponentScan1.8.@Configuration1.9.@Bean1.10.@EnableAutoConfiguration1.11.@AutoWired1.12.@Qualifier1.13.@Resource(name=“name”,type=“type”)1.14.@RequestMapping1.15.@RequestParam1.16.@PathVariable1.17.@Profiles1.18.@ConfigurationProperties1.19.@Controll...
继续阅读 >