拦截链

2024/4/25 8:43:22

双拦截链+aop实现智能参数检查

文章目录双拦截链aop实现智能参数检查注解类aspecthandler用法双拦截链aop实现智能参数检查 注解类 Retention(RetentionPolicy.RUNTIME) Target({ElementType.PARAMETER,ElementType.FIELD}) Documented public interface CheckEmail {String msg() default "email for…