From 0acee56149f68689d9d065aa28f7f58dcbfb7000 Mon Sep 17 00:00:00 2001 From: ageerle Date: Wed, 12 Nov 2025 11:08:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=BC=94=E7=A4=BA=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E4=B8=8B,=E8=BF=87=E6=BB=A4=E6=90=9C=E7=B4=A2=E6=93=8D?= =?UTF-8?q?=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ruoyi/common/web/interceptor/DemoModeInterceptor.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/ruoyi-common/ruoyi-common-web/src/main/java/org/ruoyi/common/web/interceptor/DemoModeInterceptor.java b/ruoyi-common/ruoyi-common-web/src/main/java/org/ruoyi/common/web/interceptor/DemoModeInterceptor.java index 563f8169..ded366f2 100644 --- a/ruoyi-common/ruoyi-common-web/src/main/java/org/ruoyi/common/web/interceptor/DemoModeInterceptor.java +++ b/ruoyi-common/ruoyi-common-web/src/main/java/org/ruoyi/common/web/interceptor/DemoModeInterceptor.java @@ -71,7 +71,7 @@ public class DemoModeInterceptor implements HandlerInterceptor { } // 排除查询操作(一些复杂查询使用POST) - if (requestURI.contains("/list") || requestURI.contains("/query")) { + if (requestURI.contains("/list") || requestURI.contains("/query") || requestURI.contains("/search")) { return true; } @@ -91,10 +91,6 @@ public class DemoModeInterceptor implements HandlerInterceptor { } // 排除重置密码(用户自己的操作) - if (requestURI.contains("/auth/reset/password")) { - return true; - } - - return false; + return requestURI.contains("/auth/reset/password"); } }