Parcourir la source

!196 RepeatedlyRequestWrapper.ServletInputStream 实现available方法
Merge pull request !196 from wangyang/master

若依 il y a 3 ans
Parent
commit
fc57e91b80

+ 5 - 0
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;
+            }
         };
     }
 }