skyouc
2025-03-21 8a141fa444e3d605f05763c6003085c24880e5c6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package com.vincent.rsf.framework.annotations;
 
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
 
/**
 * 管理端认证标签
 */
@Target({ElementType.TYPE,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface ManagerAuth {
    
    Auth value() default Auth.CHECK;
 
    // 备注
    String memo() default "";
    
    public enum Auth{
        //权限检测
        CHECK,
        //不检测权限
        NONE
    }
    
}