xiejun
2024-09-04 ac3f3629a261770f573f27e5e23f7ec19d096c2a
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()  ;
 
}