ruoyi-gateway/src/main/java/com/ruoyi/gateway/filter/RequestParamGlobalFilter.java
@@ -61,6 +61,10 @@ if(method != HttpMethod.POST){ return chain.filter(exchange); } MediaType contentType = request.getHeaders().getContentType(); if (contentType == null || !MediaType.APPLICATION_JSON.isCompatibleWith(contentType)) { return chain.filter(exchange); } ServerHttpRequestDecorator httpRequestDecorator = requestDecorator(exchange); return chain.filter(exchange.mutate().request(httpRequestDecorator).build()); }