测试
This commit is contained in:
parent
5f16ba0371
commit
330e279347
@ -137,7 +137,7 @@ public class WvpService {
|
||||
log.error(reason);
|
||||
writeErrorToResponse(asyncResponse, JsonResponse.error(reason));
|
||||
} catch (Exception e) {
|
||||
String reason = MessageFormat.format("调用 wvp api 查询设备: {0} 历史失败, 异常: {1}", deviceCode, e.getMessage());
|
||||
String reason = MessageFormat.format("调用 wvp api 查询设备({0})历史失败, 异常: {1}", deviceCode, e.getMessage());
|
||||
writeErrorToResponse(asyncResponse, JsonResponse.error(reason));
|
||||
} finally {
|
||||
asyncContext.complete();
|
||||
@ -202,7 +202,10 @@ public class WvpService {
|
||||
log.info("通过 wvp 查询到 {} 条历史录像 设备: {}, 国标id: {}, 通道: {}, 开始时间: {}, 结束时间: {}", recordList.size(), deviceCode, deviceId, channelId, startTime, endTime);
|
||||
return JsonResponse.success(recordList);
|
||||
});
|
||||
|
||||
List<QueryRecordResp.RecordListDTO> recordList = recordListResponse.getData();
|
||||
recordList.forEach(record->{
|
||||
log.info("{}", record);
|
||||
});
|
||||
|
||||
downloadService.download(response, "http://192.168.1.241:18979/download/recordTemp/0490d767d94ce20aedce57c862b6bfe9/rtp/59777645.mp4");
|
||||
return login;
|
||||
|
Loading…
Reference in New Issue
Block a user