2、springboot简单使用自定义注解+aop切面
1、首先定义一个注解,指明RUNTIME@Retention(RetentionPolicy.RUNTIME)
@Documented
@Target(value={ElementType.METHOD})
public @interface FistAnnotation {
String name() default "null";
}2、切面类,这里我针对study.boot.control...
原创
2018-06-30 17:14:48 ·
1602 阅读 ·
1 评论