From fede660d2145a88d0a031ee3526c30f6df9c1ce5 Mon Sep 17 00:00:00 2001 From: songww Date: Thu, 14 May 2020 14:41:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=84=E8=8C=83API=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../genersoft/iot/vmp/vmanager/record/RecordController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/vmanager/record/RecordController.java b/src/main/java/com/genersoft/iot/vmp/vmanager/record/RecordController.java index 5b947c9e..4cee2008 100644 --- a/src/main/java/com/genersoft/iot/vmp/vmanager/record/RecordController.java +++ b/src/main/java/com/genersoft/iot/vmp/vmanager/record/RecordController.java @@ -31,11 +31,11 @@ public class RecordController { @Autowired private DeferredResultHolder resultHolder; - @GetMapping("/record/{deviceId}") - public DeferredResult> recordinfo(@PathVariable String deviceId, String channelId, String startTime, String endTime){ + @GetMapping("/record/{deviceId}/{channelId}") + public DeferredResult> recordinfo(@PathVariable String deviceId,@PathVariable String channelId, String startTime, String endTime){ if (logger.isDebugEnabled()) { - logger.debug(String.format("录像信息 API调用,deviceId:%s ,startTime:%s, startTime:%s",deviceId, startTime, endTime)); + logger.debug(String.format("录像信息查询 API调用,deviceId:%s ,startTime:%s, startTime:%s",deviceId, startTime, endTime)); } Device device = storager.queryVideoDevice(deviceId);