mirror of
https://gitee.com/ssssssss-team/magic-api.git
synced 2026-06-08 09:52:53 +08:00
修复在使用 ResultProvider 时识别方法签名不正确的问题
This commit is contained in:
@@ -161,7 +161,7 @@ public class DefaultMagicAPIService implements MagicAPIService, JsonCodeConstant
|
||||
public <T> T call(String method, String path, Map<String, Object> context) {
|
||||
RequestEntity requestEntity = RequestEntity.empty();
|
||||
try {
|
||||
return (T) resultProvider.buildResult(requestEntity, execute(method, path, context));
|
||||
return (T) resultProvider.buildResult(requestEntity, (Object)execute(method, path, context));
|
||||
} catch (MagicResourceNotFoundException e) {
|
||||
//找不到对应接口
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user