From b4c4a752bd1720ae3888c2667cb911c0375c815a Mon Sep 17 00:00:00 2001 From: Damonny <826010988@qq.com> Date: Thu, 13 Mar 2025 15:46:48 +0800 Subject: [PATCH] =?UTF-8?q?update:=E6=97=A5=E5=BF=97=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iocoder/yudao/framework/common/util/file/FileUtils.java | 6 +++--- .../iocoder/yudao/framework/common/util/file/PicUtils.java | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/yudao-framework/yudao-common/src/main/java/cn/iocoder/yudao/framework/common/util/file/FileUtils.java b/yudao-framework/yudao-common/src/main/java/cn/iocoder/yudao/framework/common/util/file/FileUtils.java index f32a2c1765..975b456369 100644 --- a/yudao-framework/yudao-common/src/main/java/cn/iocoder/yudao/framework/common/util/file/FileUtils.java +++ b/yudao-framework/yudao-common/src/main/java/cn/iocoder/yudao/framework/common/util/file/FileUtils.java @@ -11,7 +11,7 @@ import cn.iocoder.yudao.framework.common.util.string.StringUtils; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; import lombok.SneakyThrows; -import lombok.extern.log4j.Log4j2; +import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.ArrayUtils; import java.io.*; @@ -23,7 +23,7 @@ import java.nio.charset.StandardCharsets; * * @author 范劲松 */ -@Log4j2 +@Slf4j public class FileUtils { /** * 字符常量:斜杠 {@code '/'} @@ -108,7 +108,7 @@ public class FileUtils { } } } -// log.info("byte string: {}", new String(data)); + log.info("byte string: {}", new String(data)); return Base64.encode(data); } diff --git a/yudao-framework/yudao-common/src/main/java/cn/iocoder/yudao/framework/common/util/file/PicUtils.java b/yudao-framework/yudao-common/src/main/java/cn/iocoder/yudao/framework/common/util/file/PicUtils.java index b8c264dd71..a52f9925de 100644 --- a/yudao-framework/yudao-common/src/main/java/cn/iocoder/yudao/framework/common/util/file/PicUtils.java +++ b/yudao-framework/yudao-common/src/main/java/cn/iocoder/yudao/framework/common/util/file/PicUtils.java @@ -1,6 +1,6 @@ package cn.iocoder.yudao.framework.common.util.file; -import lombok.extern.log4j.Log4j2; +import lombok.extern.slf4j.Slf4j; import net.coobird.thumbnailator.Thumbnails; import java.io.ByteArrayInputStream; @@ -11,7 +11,7 @@ import java.io.ByteArrayOutputStream; * * @author 范劲松 */ -@Log4j2 +@Slf4j public class PicUtils { /**