diff --git a/yudao-framework/yudao-spring-boot-starter-web/src/main/java/cn/iocoder/yudao/framework/web/core/filter/CacheRequestBodyWrapper.java b/yudao-framework/yudao-spring-boot-starter-web/src/main/java/cn/iocoder/yudao/framework/web/core/filter/CacheRequestBodyWrapper.java index f02ba5eb6..cf65ad3da 100644 --- a/yudao-framework/yudao-spring-boot-starter-web/src/main/java/cn/iocoder/yudao/framework/web/core/filter/CacheRequestBodyWrapper.java +++ b/yudao-framework/yudao-spring-boot-starter-web/src/main/java/cn/iocoder/yudao/framework/web/core/filter/CacheRequestBodyWrapper.java @@ -46,17 +46,22 @@ public class CacheRequestBodyWrapper extends HttpServletRequestWrapper { @Override public boolean isFinished() { - return true; + return false; } @Override public boolean isReady() { - return true; + return false; } @Override public void setReadListener(ReadListener readListener) {} + @Override + public int available() { + return body.length; + } + }; }