摘要: springboot中pom引入jar 要想把一个类变成切面类,需要两步, ① 在类上使用 @Component 注解 把切面类加入到IOC容器中 ② 在类上使用 @Aspect 注解 使之成为切面类 相关代码 阅读全文
posted @ 2019-04-12 10:31 TIMEAWAY 阅读(5882) 评论(0) 推荐(0) 编辑