diff --git a/iot-common-web/src/main/java/cc/iotkit/common/web/handler/ResponseResultHandler.java b/iot-common-web/src/main/java/cc/iotkit/common/web/handler/ResponseResultHandler.java index f18880c..464ffcb 100755 --- a/iot-common-web/src/main/java/cc/iotkit/common/web/handler/ResponseResultHandler.java +++ b/iot-common-web/src/main/java/cc/iotkit/common/web/handler/ResponseResultHandler.java @@ -52,6 +52,11 @@ public class ResponseResultHandler implements ResponseBodyAdvice { MediaType selectedContentType, Class> selectedConverterType, ServerHttpRequest request, ServerHttpResponse response) { + String requestPath = request.getURI().getPath(); + if(requestPath.startsWith("/plugins/")){ + return body; + } + if (body instanceof GlobalExceptionHandler.RequestResult) { GlobalExceptionHandler.RequestResult requestResult = (GlobalExceptionHandler.RequestResult) body; return new Response(requestResult.getCode(), requestResult.getMessage(),