package com.abcxin.smart.validator.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 防止表单重复提交token注解
 * 需要验证token
 * @author linqinglin
 * @date 2019/09/02 0002 9:23
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface CheckFormToken {
    boolean required() default true;
}
