From 1a36e226f5091e2b36710e9cb771a4326ae3552b Mon Sep 17 00:00:00 2001
From: gaoaoy <1042166043@qq.com>
Date: 星期三, 13 三月 2024 09:21:36 +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