From 3185b67ca8aa6e9fcda1ae176be1ca6efa2b0cb7 Mon Sep 17 00:00:00 2001
From: gaoaoy <1042166043@qq.com>
Date: 星期四, 29 二月 2024 14:35:03 +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