From 1496a2640408f000f31e01ebe90b5ef97237f5a1 Mon Sep 17 00:00:00 2001 From: zqy <2522236926@qq.com> Date: 星期二, 19 八月 2025 19:42:46 +0800 Subject: [PATCH] 修改婚姻bug && 管理员修改用户信息时 同步修改用户姓名、性别、婚姻状态 --- 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