From 182b2b1d3464dc1e2dcfe83a9f11799a90e7db23 Mon Sep 17 00:00:00 2001 From: zqy <2522236926@qq.com> Date: 星期六, 23 八月 2025 20:58:21 +0800 Subject: [PATCH] 同一用户 健康模块 新增删除同一条数据 --- ruoyi-common/src/main/java/com/ruoyi/common/filter/RepeatableFilter.java | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/filter/RepeatableFilter.java b/ruoyi-common/src/main/java/com/ruoyi/common/filter/RepeatableFilter.java index a1bcfe2..787da47 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/filter/RepeatableFilter.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/filter/RepeatableFilter.java @@ -34,6 +34,15 @@ { requestWrapper = new RepeatedlyRequestWrapper((HttpServletRequest) request, response); } + + else if (request instanceof HttpServletRequest + && StringUtils.startsWithIgnoreCase(request.getContentType(), "image/")) + { + // 瀵逛簬鍥剧墖璇锋眰锛屼笉鍋氫换浣曞寘瑁� + chain.doFilter(request, response); + return; // 鐩存帴杩斿洖锛岄伩鍏嶅悗缁殑浠g爜鎵ц + } + if (null == requestWrapper) { chain.doFilter(request, response); -- Gitblit v1.9.1