|
|
@@ -33,8 +33,6 @@ public class VideoDataController {
|
|
|
private IVideoDaysCheckService videoDaysCheckService;
|
|
|
@Resource
|
|
|
private IVideoDiagnosisRecordService videoDiagnosisRecordService;
|
|
|
- @Autowired
|
|
|
- private RabbitMsgIdService rabbitMsgIdService;
|
|
|
@Resource
|
|
|
IotDvrHardDiskDetectionService videoRecorderHardDiskDetectionService;
|
|
|
@Resource
|
|
|
@@ -42,7 +40,6 @@ public class VideoDataController {
|
|
|
@ApiOperation("录像完整性检查")
|
|
|
@PostMapping({"/api/video/complete"})
|
|
|
public ReceiveErrorDto complete( String msgId, @RequestBody VideoIntegrityCheckDto videoIntegrityCheckDto) {
|
|
|
- rabbitMsgIdService.sendMsgId(msgId,"/video/complete","录像完整性检查");
|
|
|
|
|
|
LogUtils.STATUS_INFO_VIDEO_COMPLETE.info("【北向接口-{}】【msgId:{}】【接收参数:{}】", "录像完整性检查:/api/video/complete", msgId, JSONArray.toJSONString(videoIntegrityCheckDto));
|
|
|
ReceiveErrorDto result = ReceiveErrorDto.success();
|
|
|
@@ -67,7 +64,6 @@ public class VideoDataController {
|
|
|
@ApiOperation("录像机天数检查")
|
|
|
@PostMapping({"/api/video/daysInfo"})
|
|
|
public ReceiveErrorDto daysInfo( String msgId, @RequestBody VideoDaysCheckDto videoDaysCheckDto) {
|
|
|
- rabbitMsgIdService.sendMsgId(msgId,"/video/daysInfo","录像机天数检查");
|
|
|
LogUtils.STATUS_INFO_VIDEO_DAYS.info("【北向接口-{}】【msgId:{}】【接收参数:{}】", "录像机天数检查:/api/video/daysInfo", msgId, JSONArray.toJSONString(videoDaysCheckDto));
|
|
|
ReceiveErrorDto errorDto = ReceiveErrorDto.success();
|
|
|
try {
|
|
|
@@ -84,7 +80,6 @@ public class VideoDataController {
|
|
|
@ApiOperation("视频质量诊断结果")
|
|
|
@PostMapping({"/api/video/diagnosis"})
|
|
|
public ReceiveErrorDto plan( String msgId, @RequestBody VideoDiagnosisDto videoDiagnosisDto) {
|
|
|
- rabbitMsgIdService.sendMsgId(msgId,"/video/diagnosis","视频质量诊断结果");
|
|
|
LogUtils.STATUS_INFO_VIDEO_DIAGNOSIS.info("【北向接口-{}】【msgId:{}】【接收参数:{}】", "视频质量诊断结果:/api/video/diagnosis", msgId, JSONArray.toJSONString(videoDiagnosisDto));
|
|
|
ReceiveErrorDto result = ReceiveErrorDto.success();
|
|
|
if (ObjectUtil.isEmpty(videoDiagnosisDto.getOrganizationGuid())) {
|
|
|
@@ -106,7 +101,6 @@ public class VideoDataController {
|
|
|
@ApiOperation("DVR硬盘空间信息同步")
|
|
|
@PostMapping({"/api/data/dvrDiskList"})
|
|
|
ReceiveErrorDto disksList( String msgId, @RequestBody DataPageDto<DvrDiskPageDto> dataPageDto) {
|
|
|
- rabbitMsgIdService.sendMsgId(msgId, "/api/data/dvrDiskList", "DVR硬盘空间信息同步");
|
|
|
LogUtils.BASE_INFO_DVR_DISK.info("【北向接口-{}】【msgId:{}】【接收参数:{}】", "DVR硬盘空间信息同步:/api/data/dvrDiskList", msgId, JSON.toJSONString(dataPageDto));
|
|
|
ReceiveErrorDto result = ReceiveErrorDto.success();
|
|
|
try {
|
|
|
@@ -123,7 +117,6 @@ public class VideoDataController {
|
|
|
@ApiOperation("硬盘检测")
|
|
|
@PostMapping({"/api/status/disks"})
|
|
|
ReceiveErrorDto disks( String msgId, @RequestBody VideoRecorderHardDiskDetectionEditDto videoRecorderHardDiskDetectionEditDto) {
|
|
|
- rabbitMsgIdService.sendMsgId(msgId, "/status/disks", "录像机硬盘检测");
|
|
|
LogUtils.STATUS_INFO_DISKS.info("【北向接口-{}】【msgId:{}】【接收参数:{}】", "录像机硬盘检测:/api/status/disks", msgId, JSON.toJSONString(videoRecorderHardDiskDetectionEditDto));
|
|
|
ReceiveErrorDto result = ReceiveErrorDto.success();
|
|
|
try {
|