From 7bff21359fa325c7d3f1049cbed6039903b8cadf Mon Sep 17 00:00:00 2001 From: gaoaoy <1042166043@qq.com> Date: 星期四, 29 二月 2024 13:48: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