Quellcode durchsuchen

Merge branch 'develop' of gitadmin/tuoheng_freeway into release

tags/v1.2.0^2
wanjing vor 1 Jahr
Ursprung
Commit
c6cb669cde
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. +2
    -2
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/accident/verify/AccidentVerifyService.java

+ 2
- 2
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/accident/verify/AccidentVerifyService.java Datei anzeigen

@@ -160,13 +160,13 @@ public class AccidentVerifyService {
String airPortStr = HttpUtils.doSend(url, jsonObject, null, "POST");
if (StringUtils.isEmpty(airPortStr)) {
log.info("调用机场平台,无人机执行定点飞行:返回数据为空,飞行失败,jsonObject:{}", jsonObject);
// throw new ServiceException("机场平台返回数据为空,飞行失败");
throw new ServiceException("机场平台返回数据为空,飞行失败");
}

JsonResult jsonResult = JacksonUtil.json2pojo(airPortStr, JsonResult.class);
if (0 != jsonResult.getCode()) {
log.info("调用机场平台,无人机执行定点飞行:飞行失败,jsonResult:{}", jsonResult.getMsg());
// throw new ServiceException("机场平台返回,飞行失败");
throw new ServiceException("机场平台返回,飞行失败");
}
}


Laden…
Abbrechen
Speichern