摘要: 步骤 创建一个注解类 注意两个参数; 1. target 目标类行 方法/类? 2. Retention 生效策略 编写切面逻辑 类上注解打起来 @Aspect 切点注解打起来,规则配起来@Pointcut("@annotation(com.example.chaoming.exercise.jdk 阅读全文
posted @ 2021-01-13 16:53 朝明 阅读(279) 评论(0) 推荐(0) 编辑