From e08d294071aec028dd219ca6df996d2a91403ea5 Mon Sep 17 00:00:00 2001 From: yzj <2239426921@qq.com> Date: Sun, 15 May 2022 17:18:49 +0800 Subject: [PATCH] init --- .../ruoyi/framework/interceptor/RepeatSubmitInterceptor.java | 1 + ruoyi-workFlow/ruoyi-workFlow.iml | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/interceptor/RepeatSubmitInterceptor.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/interceptor/RepeatSubmitInterceptor.java index ea7f9649..7c0c20e7 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/interceptor/RepeatSubmitInterceptor.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/interceptor/RepeatSubmitInterceptor.java @@ -30,6 +30,7 @@ public abstract class RepeatSubmitInterceptor extends HandlerInterceptorAdapter if (annotation != null) { if (this.isRepeatSubmit(request)) { + AjaxResult ajaxResult = AjaxResult.error("不允许重复提交,请稍后再试"); ServletUtils.renderString(response, JSONObject.toJSONString(ajaxResult)); return false; diff --git a/ruoyi-workFlow/ruoyi-workFlow.iml b/ruoyi-workFlow/ruoyi-workFlow.iml index 9bd77f2d..f62c25e8 100644 --- a/ruoyi-workFlow/ruoyi-workFlow.iml +++ b/ruoyi-workFlow/ruoyi-workFlow.iml @@ -9,7 +9,9 @@ - + + +