摘要: 首先声明一个切面类,注册到容器。 @Aspect @Component public class SpringAspect { @Before("pointcut()") public void before(){ System.out.println("before aspect"); } @Af 阅读全文
posted @ 2020-12-03 18:19 l2c 阅读(175) 评论(0) 推荐(0)