From 16c451980758098fb38e8a8eaddfed3fd275e83c Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期二, 22 二月 2022 19:03:46 +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