jinpengyong
2020-09-28 9b9f6e309a0b0ffd5c2495eaf8438b36704991a6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.moral.common.webAnno;
 
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* @Description: 可跳过web路径下的验证
        * @Param:
        * @return:
        * @Author: 陈凯裕
        * @Date: 2020/9/14
        */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface PassToken {
    boolean required() default true;
}