From 31d317d6846756f11fdda94c68f2bd2947243712 Mon Sep 17 00:00:00 2001 From: qiushui Date: Thu, 17 Feb 2022 13:27:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E5=A2=99=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../zhehekeji/web/controller/RealTimeController.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/web/src/main/java/com/zhehekeji/web/controller/RealTimeController.java b/web/src/main/java/com/zhehekeji/web/controller/RealTimeController.java index 676e7f0..af1c690 100644 --- a/web/src/main/java/com/zhehekeji/web/controller/RealTimeController.java +++ b/web/src/main/java/com/zhehekeji/web/controller/RealTimeController.java @@ -11,6 +11,7 @@ import io.swagger.annotations.ApiOperation; import org.springframework.web.bind.annotation.*; import javax.annotation.Resource; +import java.util.ArrayList; import java.util.List; @Api(value = "realTime",tags = "实时监控") @@ -39,6 +40,16 @@ public class RealTimeController { return Result.success(cameraService.allCameras()); } + @GetMapping("/wallStyle") + @ApiOperation(value = "视频墙样式") + //@SessionHandler + public Result> wallStyle() { + List styles = new ArrayList<>(2); + styles.add(configProperties.getVideoStyleConfig().getVideoStyleRow()); + styles.add(configProperties.getVideoStyleConfig().getVideoStyleColumn()); + return Result.success(styles); + } + @GetMapping("/videoServer") @ApiOperation(value = "视频服务器地址") public Result getVideoServer(){