package com.pointbatchmanage.common.annotation;
import com.pointbatchmanage.common.security.DefaultReturnHandle;
import com.pointbatchmanage.common.security.IReturnHandle;
import java.lang.annotation.*;
/**
* @ClassName: AuthenticRequire
* @Description: 权限验证注解
* @Author: wuyc
* @Date: 2022/3/22 9:31
*/
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface AuthenticRequire {
// 权限名称
String value() default "";
// 没有权限时使用的返回处理类
Class<? extends IReturnHandle> handle() default DefaultReturnHandle.class;
}