skyouc
2025-04-02 a3917dfa5f40fb653046a03ea2acde81992f554e
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
    }
    
}