![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
注解
Yue Qin
More and more, better and better!
展开
-
注解@ConfigurationProperties的用法
准备application.propertiesConfiguration 配置类@Configuration@ComponentScan(basePackages= {"com.yueqin"})@PropertySource(value= {"classpath:application.properties"})@EnableConfigurationPropertiespublic class BootConfig { @Autowired public DruidEntit.原创 2020-06-16 23:31:09 · 247 阅读 · 0 评论 -
Springboot纯注解Aop示例
准备好接口和实现类@Servicepublic interface AninmalService { public void service();}@Service("dogService")public class DogServiceImpl implements AninmalService{ @Autowired public Dog dog; @Override public void service() { Syste.原创 2020-06-14 12:43:19 · 377 阅读 · 0 评论