Parcourir la source

防止重复提交添加msg

yq il y a 3 ans
Parent
commit
6513d945ca

+ 1 - 1
src/main/java/com/usky/dxtop/framework/interceptor/RepeatSubmitInterceptor.java

@@ -33,7 +33,7 @@ public abstract class RepeatSubmitInterceptor extends HandlerInterceptorAdapter
             {
                 if (this.isRepeatSubmit(request))
                 {
-                    AjaxResult apiResult = AjaxResult.error("500","不允许重复提交,请稍后再试");
+                    AjaxResult apiResult = AjaxResult.error("不允许重复提交,请稍后再试",null);
                     ServletUtils.renderString(response, JSONObject.toJSONString(apiResult));
                     return false;
                 }