feat: 修改bug

This commit is contained in:
wangyu 2023-12-07 18:30:01 +08:00
parent 598395c81f
commit df085e9188

View File

@ -160,7 +160,7 @@ public class RestProxyInvoker implements InvocationHandler, PropertiesConfigurab
// 设置客户端 // 设置客户端
client.setClient(registry.getProvider()); client.setClient(registry.getProvider());
// 是否对结果进行映射 // 是否对结果进行映射
boolean map = null != mapping && method.isBare(); boolean map = null != mapping && !method.isBare();
// 执行请求 // 执行请求
Object result = execute(client, method, map); Object result = execute(client, method, map);
// 结果映射 // 结果映射