Helius
2021-06-24 8aa51ba3c004dce7a6bc19cc785135f7deff15d6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.xzx.gc.common.annotations;
 
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
 
 
/**
 * 不需要认证的接口
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface PassToken {
    boolean required() default true;
}