摘要: 1.定义切点 1.1 类上面加上下方注解 @Aspect // 定义一个切面 @Configuration //配置类 1.2 指定切点位置 @Pointcut("execution(* com.example.demo.controller..*Controller.*(..))") public 阅读全文
posted @ 2021-08-17 20:07 羊37 阅读(562) 评论(0) 推荐(0) 编辑