From ab8be7a04222ffe63e0dc752725c25c7f075830f Mon Sep 17 00:00:00 2001
From: 李林 <z1292839451@163.com>
Date: 星期四, 14 三月 2024 11:53:32 +0800
Subject: [PATCH] 功能调整

---
 framework/src/main/java/com/yuanchu/mom/config/LogConfig.java |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/framework/src/main/java/com/yuanchu/mom/config/LogConfig.java b/framework/src/main/java/com/yuanchu/mom/config/LogConfig.java
index 036238d..b92f2b4 100644
--- a/framework/src/main/java/com/yuanchu/mom/config/LogConfig.java
+++ b/framework/src/main/java/com/yuanchu/mom/config/LogConfig.java
@@ -39,9 +39,13 @@
             if (annotation == null) {
                 return HandlerInterceptor.super.preHandle(request, response, handler);
             }
+            String value = annotation.value();
+            if (value.contains("鑾峰彇")||value.contains("鏌ヨ")){
+                return HandlerInterceptor.super.preHandle(request, response, handler);
+            }
             SystemLog systemLog = new SystemLog();
             systemLog.setMethod(method.getName());
-            systemLog.setMethodName(annotation.value());
+            systemLog.setMethodName(value);
             systemLogMapper.insert(systemLog);
         }
         return HandlerInterceptor.super.preHandle(request, response, handler);

--
Gitblit v1.9.3