From c5bb1029f680fe65485d37c469f44e7fad5c24ef Mon Sep 17 00:00:00 2001 From: AprilWind <2100166581@qq.com> Date: Fri, 19 Jan 2024 17:48:24 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=EF=BC=8C=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E5=81=87=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/dromara/common/log/event/LogEventListener.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/ruoyi-common/ruoyi-common-log/src/main/java/org/dromara/common/log/event/LogEventListener.java b/ruoyi-common/ruoyi-common-log/src/main/java/org/dromara/common/log/event/LogEventListener.java index d139b949..4c3e8e3e 100644 --- a/ruoyi-common/ruoyi-common-log/src/main/java/org/dromara/common/log/event/LogEventListener.java +++ b/ruoyi-common/ruoyi-common-log/src/main/java/org/dromara/common/log/event/LogEventListener.java @@ -95,16 +95,8 @@ public class LogEventListener { } remoteLogService.saveLogininfor(logininfor); } - - /** - * 将传入的对象转换为带方括号的字符串表示形式 - * 如果传入对象为 null,则返回空字符串表示的方括号 - * - * @param msg 要转换的对象,可以是任何类型 - * @return 包含方括号的字符串表示形式 - */ + private String getBlock(Object msg) { - // 如果传入对象为 null,则将其替换为空字符串 if (msg == null) { msg = ""; }