允许TokenIgnore标记在类上面

This commit is contained in:
‘毛文春’
2023-02-17 10:03:56 +08:00
parent e8369320ab
commit 23493afb2f
2 changed files with 7 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ import java.lang.annotation.*;
/**
* @author hao
*/
@Target(ElementType.METHOD)
@Target({ElementType.METHOD,ElementType.TYPE})
@Documented
@Retention(RetentionPolicy.RUNTIME)
public @interface TokenIgnore {