Browse Source

修改获取无人机实时信息的接口

tags/V1.0.1^2
chengwang 1 year ago
parent
commit
0827bd2333
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/query/QueryAirportMsgByIdService.java

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/query/QueryAirportMsgByIdService.java View File

@@ -57,7 +57,7 @@ public class QueryAirportMsgByIdService {
Object obj = redisUtils.get(inspectionId);
FlightData flightData = null;
if (ObjectUtil.isNull(obj)) {
throw new ServiceException(ServiceExceptionEnum.PARAMETER_IS_NULL);
return JsonResult.success("当前任务状态不是飞行中,无数据信息");
} else {
flightData = (FlightData) obj;
}

Loading…
Cancel
Save