From e88d34fd4cbe3a0cc57ecfdc1710d66bc88e26b5 Mon Sep 17 00:00:00 2001 From: zhubaomin <zhubaomin> Date: 星期二, 10 六月 2025 14:07:53 +0800 Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV --- pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/video/VideoCtrl.java | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/video/VideoCtrl.java b/pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/video/VideoCtrl.java index 283a749..627f0b0 100644 --- a/pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/video/VideoCtrl.java +++ b/pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/video/VideoCtrl.java @@ -19,6 +19,7 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.http.MediaType; +import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @@ -70,9 +71,9 @@ schema = @Schema(implementation = VoCamera.class))} ) }) - @PostMapping(path = "some", consumes = MediaType.APPLICATION_JSON_VALUE) + @GetMapping(path = "some") @SsoAop() - public BaseResponse<QueryResultVo<List<VoVideo>>> some(CameraQo queryQo){ + public BaseResponse<QueryResultVo<List<VoVideo>>> some(VideoQo queryQo){ try { ViYsApp ysApp = this.ysSv.selectSingleton() ; if(ysApp == null){ @@ -104,6 +105,7 @@ vvo.videoUrl4Standard = "" ; vvo.videoUrl4Security = "" ; } + list.add(vvo) ; } } QueryResultVo<List<VoVideo>> res = new QueryResultVo<>() ; -- Gitblit v1.8.0