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() ; }