leisure.springboot.authorization.UserAuthorization Maven / Gradle / Ivy
The newest version!
package leisure.springboot.authorization;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface UserAuthorization {
String value() default "";
boolean judgeRole() default false;
}