This commit is contained in:
parent
2c9ccd6ea4
commit
d1536c00bd
|
|
@ -48,7 +48,7 @@ public class RemoteAircraftFlyFallbackFactory implements FallbackFactory<RemoteA
|
|||
}
|
||||
|
||||
@Override
|
||||
public R<DroneTakeoffResponseVO> takeoff(Long dockId, String source)
|
||||
public R<String> takeoff(String sn)
|
||||
{
|
||||
return R.fail("无人机起飞失败:" + throwable.getMessage());
|
||||
}
|
||||
|
|
@ -82,6 +82,12 @@ public class RemoteAircraftFlyFallbackFactory implements FallbackFactory<RemoteA
|
|||
{
|
||||
return R.fail("回舱失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public R<String> returnHome(String sn)
|
||||
{
|
||||
return R.fail("返航失败:" + throwable.getMessage());
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue