Browse Source

Merge branch 'develop' of gitadmin/tuoheng_telecomumale into release

tags/v1.3.1
wanjing 1 year ago
parent
commit
8084263adb
2 changed files with 3 additions and 2 deletions
  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 View File

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 View File

} }


// 通知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…
Cancel
Save