From 1301beefc6cbbefcec6429b144c153c9c67e18a6 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期三, 22 六月 2022 17:58:04 +0800
Subject: [PATCH] 新增内容编码/解码方便插件集成使用
---
src/main/java/com/ruoyi/framework/interceptor/annotation/RepeatSubmit.java | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/ruoyi/framework/interceptor/annotation/RepeatSubmit.java b/src/main/java/com/ruoyi/framework/interceptor/annotation/RepeatSubmit.java
index 9b98809..2084bfb 100644
--- a/src/main/java/com/ruoyi/framework/interceptor/annotation/RepeatSubmit.java
+++ b/src/main/java/com/ruoyi/framework/interceptor/annotation/RepeatSubmit.java
@@ -19,5 +19,13 @@
@Documented
public @interface RepeatSubmit
{
+ /**
+ * 闂撮殧鏃堕棿(ms)锛屽皬浜庢鏃堕棿瑙嗕负閲嶅鎻愪氦
+ */
+ public int interval() default 5000;
+ /**
+ * 鎻愮ず娑堟伅
+ */
+ public String message() default "涓嶅厑璁搁噸澶嶆彁浜わ紝璇风◢鍚庡啀璇�";
}
\ No newline at end of file
--
Gitblit v1.9.3