diff --git a/rest-proxy-core/src/main/java/group/flyfish/rest/registry/proxy/RestProxyInvoker.java b/rest-proxy-core/src/main/java/group/flyfish/rest/registry/proxy/RestProxyInvoker.java index 35b0901..ccaf08d 100644 --- a/rest-proxy-core/src/main/java/group/flyfish/rest/registry/proxy/RestProxyInvoker.java +++ b/rest-proxy-core/src/main/java/group/flyfish/rest/registry/proxy/RestProxyInvoker.java @@ -160,7 +160,7 @@ public class RestProxyInvoker implements InvocationHandler, PropertiesConfigurab // 设置客户端 client.setClient(registry.getProvider()); // 是否对结果进行映射 - boolean map = null != mapping && method.isBare(); + boolean map = null != mapping && !method.isBare(); // 执行请求 Object result = execute(client, method, map); // 结果映射