瀏覽代碼

1、修改飞行日志success日志;

tags/v1.3.1
wanjing 1 年之前
父節點
當前提交
9d5d49be2d
共有 2 個文件被更改,包括 3 次插入2 次删除
  1. +2
    -2
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/tzhl/service/CallTianYiPlatformService.java
  2. +1
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/tzhl/service/fly/log/FlyLogBySuccessService.java

+ 2
- 2
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/tzhl/service/CallTianYiPlatformService.java 查看文件

throw new ServiceException(HttpStatus.BAD_REQUEST.value(), "泰州海陵区城管,接口返回失败"); throw new ServiceException(HttpStatus.BAD_REQUEST.value(), "泰州海陵区城管,接口返回失败");
} }


log.info("泰州海陵区城管,接口返回, response={}", response.getBody().getData());
// log.info("泰州海陵区城管,接口返回, response={}", response.getBody().getData());


return JSONObject.toJSONString(response.getBody().getData()); return JSONObject.toJSONString(response.getBody().getData());
} }
throw new ServiceException(HttpStatus.BAD_REQUEST.value(), "泰州海陵区城管,接口返回失败"); throw new ServiceException(HttpStatus.BAD_REQUEST.value(), "泰州海陵区城管,接口返回失败");
} }


log.info("泰州海陵区城管,接口返回, response={}", response.getBody().getData());
// log.info("泰州海陵区城管,接口返回, response={}", response.getBody().getData());


return JSONObject.toJSONString(response.getBody().getData()); return JSONObject.toJSONString(response.getBody().getData());
} }

+ 1
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/tzhl/service/fly/log/FlyLogBySuccessService.java 查看文件

} }


// 通知DSP // 通知DSP
log.info("获取飞行日志,status=success,通知DSP,推流地址:pushUrl={}", airportDto.getUavPushUrl());
JsonResult result = dspService.startAI(inspection, airportDto.getUavPushUrl(), airportDto.getUavPushUrl()); JsonResult result = dspService.startAI(inspection, airportDto.getUavPushUrl(), airportDto.getUavPushUrl());
if (0 != result.getCode()) { if (0 != result.getCode()) {
log.info("获取飞行日志,获取推流地址,通知DSP失败"); log.info("获取飞行日志,获取推流地址,通知DSP失败");

Loading…
取消
儲存