This commit is contained in:
孙小云 2026-02-24 10:34:22 +08:00
parent 2c9ccd6ea4
commit d1536c00bd
1 changed files with 7 additions and 1 deletions

View File

@ -48,7 +48,7 @@ public class RemoteAircraftFlyFallbackFactory implements FallbackFactory<RemoteA
} }
@Override @Override
public R<DroneTakeoffResponseVO> takeoff(Long dockId, String source) public R<String> takeoff(String sn)
{ {
return R.fail("无人机起飞失败:" + throwable.getMessage()); return R.fail("无人机起飞失败:" + throwable.getMessage());
} }
@ -82,6 +82,12 @@ public class RemoteAircraftFlyFallbackFactory implements FallbackFactory<RemoteA
{ {
return R.fail("回舱失败:" + throwable.getMessage()); return R.fail("回舱失败:" + throwable.getMessage());
} }
@Override
public R<String> returnHome(String sn)
{
return R.fail("返航失败:" + throwable.getMessage());
}
}; };
} }
} }