From a5d6eb8c87de887ca99041de1bd865bab48f6211 Mon Sep 17 00:00:00 2001 From: zqy <2522236926@qq.com> Date: 星期二, 26 八月 2025 18:01:25 +0800 Subject: [PATCH] 同一用户 个人简历 修改时 会将父母id清空 --- 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