田源
2024-09-27 322b236f53f9aa8e12c6e019c861e2ea1bc4ab16
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()  ;
 
}