org.macrocloud.kernel.security.annotation.PreAuth Maven / Gradle / Ivy
package org.macrocloud.kernel.security.annotation;
import java.lang.annotation.*;
/**
* 权限注解 用于检查权限 规定访问权限
*/
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface PreAuth {
/**
* Spring el
* 文档地址:https://docs.spring.io/spring/docs/5.1.6.RELEASE/spring-framework-reference/core.html#expressions
*/
String value();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy