From f2ff839106246d225d4ddc8dfa8881db1c597876 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期五, 23 十二月 2022 13:29:40 +0800 Subject: [PATCH] update springboot 2.7.6 => 2.7.7 update easyexcel 3.1.3 => 3.1.4 --- ruoyi-common/src/main/java/com/ruoyi/common/filter/RepeatedlyRequestWrapper.java | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/filter/RepeatedlyRequestWrapper.java b/ruoyi-common/src/main/java/com/ruoyi/common/filter/RepeatedlyRequestWrapper.java index d1ff5a5..c1cbe3f 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/filter/RepeatedlyRequestWrapper.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/filter/RepeatedlyRequestWrapper.java @@ -1,7 +1,6 @@ package com.ruoyi.common.filter; import cn.hutool.core.io.IoUtil; -import cn.hutool.core.util.StrUtil; import com.ruoyi.common.constant.Constants; import javax.servlet.ReadListener; @@ -13,7 +12,6 @@ import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStreamReader; -import java.nio.charset.StandardCharsets; /** * 鏋勫缓鍙噸澶嶈鍙杋nputStream鐨剅equest @@ -28,7 +26,7 @@ request.setCharacterEncoding(Constants.UTF8); response.setCharacterEncoding(Constants.UTF8); - body = StrUtil.str(IoUtil.readBytes(request.getInputStream(), false), StandardCharsets.UTF_8).getBytes(); + body = IoUtil.readBytes(request.getInputStream(), false); } @Override -- Gitblit v1.9.3