Compare commits

...

2 Commits

Author SHA1 Message Date
517f9403c2 Merge remote-tracking branch 'origin/main' 2023-12-07 18:30:10 +08:00
df085e9188 feat: 修改bug 2023-12-07 18:30:01 +08:00

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);
// 结果映射 // 结果映射