防重复提交
This commit is contained in:
parent
ca262c7e7b
commit
9871e83e4b
|
|
@ -13,9 +13,9 @@ import java.lang.annotation.*;
|
||||||
public @interface PreventRepeatSubmit
|
public @interface PreventRepeatSubmit
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* 间隔时间(ms),小于此时间视为重复提交
|
* 间隔时间(s),小于此时间视为重复提交
|
||||||
*/
|
*/
|
||||||
public int interval() default 10000;
|
public int interval() default 3;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 提示消息
|
* 提示消息
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue