RuoYi
2022-04-15 a0447de0612b8895b6052f26c4ff46e9033fcffc
ruoyi-common/src/main/java/com/ruoyi/common/filter/RepeatedlyRequestWrapper.java
@@ -38,16 +38,19 @@
    @Override
    public ServletInputStream getInputStream() throws IOException
    {
        final ByteArrayInputStream bais = new ByteArrayInputStream(body);
        return new ServletInputStream()
        {
            @Override
            public int read() throws IOException
            {
                return bais.read();
            }
            @Override
            public int available() throws IOException
            {
                return body.length;
            }
            @Override
@@ -66,11 +69,6 @@
            public void setReadListener(ReadListener readListener)
            {
            }
            @Override
            public int available() throws IOException {
                return body.length;
            }
        };
    }