#
Junjie
2024-03-19 77ac6b72ed82d51d0d45bf156ac1b5bb3cb15782
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.zy.asrs.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
    }
    
}