dangsn
2024-06-06 33321f5486fd586fda6fd3f46b7e71754fede28b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.vci.starter.web.annotation.permission;
 
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
 
/**
 * 参照方法注解,表示这个方法是提供给其他地方参照引用的
 * @author weidy
 */
@Target({ java.lang.annotation.ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface VciReferPermission {
    /**
     * 参照的key,需要唯一值,在系统启动的时候会扫描,建议使用被业务类型来代替
     * @return
     */
    String referedKey()  ;
 
}