摘要: 一、springboot项目中有两种配置文件 springboot项目中有两种配置文件 bootstrap 和 application bootstrap是应用程序的父上下文,由父Spring ApplicationContext加载。所以加载顺序优先于application。 bootstrap 阅读全文
posted @ 2019-12-18 13:48 皮肤黝黑的小白 阅读(884) 评论(0) 推荐(3)
摘要: 实现过程: 1.pom引包 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId> </dependency> 2.写你的aspect @Asp 阅读全文
posted @ 2019-12-18 10:48 皮肤黝黑的小白 阅读(493) 评论(0) 推荐(0)