update:日志依赖修改
This commit is contained in:
parent
4e72996a9e
commit
b4c4a752bd
|
@ -11,7 +11,7 @@ import cn.iocoder.yudao.framework.common.util.string.StringUtils;
|
||||||
import jakarta.servlet.http.HttpServletRequest;
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
import jakarta.servlet.http.HttpServletResponse;
|
import jakarta.servlet.http.HttpServletResponse;
|
||||||
import lombok.SneakyThrows;
|
import lombok.SneakyThrows;
|
||||||
import lombok.extern.log4j.Log4j2;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.apache.commons.lang3.ArrayUtils;
|
import org.apache.commons.lang3.ArrayUtils;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
|
@ -23,7 +23,7 @@ import java.nio.charset.StandardCharsets;
|
||||||
*
|
*
|
||||||
* @author 范劲松
|
* @author 范劲松
|
||||||
*/
|
*/
|
||||||
@Log4j2
|
@Slf4j
|
||||||
public class FileUtils {
|
public class FileUtils {
|
||||||
/**
|
/**
|
||||||
* 字符常量:斜杠 {@code '/'}
|
* 字符常量:斜杠 {@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);
|
return Base64.encode(data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package cn.iocoder.yudao.framework.common.util.file;
|
package cn.iocoder.yudao.framework.common.util.file;
|
||||||
|
|
||||||
import lombok.extern.log4j.Log4j2;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import net.coobird.thumbnailator.Thumbnails;
|
import net.coobird.thumbnailator.Thumbnails;
|
||||||
|
|
||||||
import java.io.ByteArrayInputStream;
|
import java.io.ByteArrayInputStream;
|
||||||
|
@ -11,7 +11,7 @@ import java.io.ByteArrayOutputStream;
|
||||||
*
|
*
|
||||||
* @author 范劲松
|
* @author 范劲松
|
||||||
*/
|
*/
|
||||||
@Log4j2
|
@Slf4j
|
||||||
public class PicUtils {
|
public class PicUtils {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue