forked from kidgrow-microservices-platform

zhaoxiaohao
2020-08-08 7453cd00dd42f60bb3406137ae88fa28daf40e67
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.xxl.job.admin.controller.annotation;
 
 
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
 
/**
 * 权限限制
 * @author xuxueli 2015-12-12 18:29:02
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface PermessionLimit {
    
    /**
     * 登录拦截 (默认拦截)
     */
    boolean limit() default true;
 
}