You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
433 B
Java
18 lines
433 B
Java
package com.glxp.api.annotation;
|
|
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
|
|
/**
|
|
* 后台登录授权/权限验证的注解
|
|
*/
|
|
//此注解只能修饰方法
|
|
@Target(ElementType.METHOD)
|
|
//当前注解如何去保持
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
public @interface AuthRuleAnnotation {
|
|
String value();
|
|
}
|