mirror of
https://github.com/zfile-dev/zfile.git
synced 2025-04-19 05:34:52 +00:00
17 lines
431 B
Java
17 lines
431 B
Java
package im.zhaojun.zfile.admin.annoation;
|
|
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
|
|
/**
|
|
* Referer 校验注解,标注了此注解的请求,会被校验 Referer 是否符合要求.
|
|
*
|
|
* @author zhaojun
|
|
*/
|
|
@Target(ElementType.METHOD)
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
public @interface RefererCheck {
|
|
|
|
} |