20 lines
439 B
Java
20 lines
439 B
Java
|
|
package com.ff.annotation;
|
||
|
|
|
||
|
|
import lombok.Data;
|
||
|
|
|
||
|
|
import java.lang.annotation.ElementType;
|
||
|
|
import java.lang.annotation.Retention;
|
||
|
|
import java.lang.annotation.RetentionPolicy;
|
||
|
|
import java.lang.annotation.Target;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 检查标题
|
||
|
|
*
|
||
|
|
* @author shi
|
||
|
|
* @date 2025/02/10
|
||
|
|
*/
|
||
|
|
@Target(ElementType.TYPE)
|
||
|
|
@Retention(RetentionPolicy.RUNTIME)
|
||
|
|
public @interface CheckHeader {
|
||
|
|
// 该注解没有参数,直接标识类需要进行头部验证
|
||
|
|
}
|