From 347f36ceff777b252bda45229cee54bf12a31aeb Mon Sep 17 00:00:00 2001
From: wangyuanyang <wangyuanyang@ihuman.com>
Date: Mon, 29 Mar 2021 10:17:31 +0800
Subject: [PATCH] =?UTF-8?q?fix:RepeatedlyRequestWrapper.ServletInputStream?=
 =?UTF-8?q?=20=E5=AE=9E=E7=8E=B0available=E6=96=B9=E6=B3=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../com/ruoyi/common/filter/RepeatedlyRequestWrapper.java    | 5 +++++
 1 file changed, 5 insertions(+)

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 9ad6f49..0c011e2 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
@@ -67,6 +67,11 @@ public class RepeatedlyRequestWrapper extends HttpServletRequestWrapper
             {
 
             }
+
+            @Override
+            public int available() throws IOException {
+                return body.length;
+            }
         };
     }
 }