From c2963c9ba128728788add2586f1fb5dc421ca6b5 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期三, 10 四月 2024 18:11:31 +0800
Subject: [PATCH] 新增运维平台、资产管理
---
ycl-server/src/main/java/com/ycl/platform/controller/TMonitorController.java | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/ycl-server/src/main/java/com/ycl/platform/controller/TMonitorController.java b/ycl-server/src/main/java/com/ycl/platform/controller/TMonitorController.java
index 7591d6e..f70f35f 100644
--- a/ycl-server/src/main/java/com/ycl/platform/controller/TMonitorController.java
+++ b/ycl-server/src/main/java/com/ycl/platform/controller/TMonitorController.java
@@ -11,7 +11,6 @@
import enumeration.BusinessType;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@@ -96,4 +95,24 @@
{
return toAjax(tMonitorService.deleteTMonitorByIds(ids));
}
+
+ /**
+ * 鑾峰彇瑙嗛璁惧缁熻鏁�
+ */
+ @GetMapping("/getVideoCount/{cameraFunType}")
+ public AjaxResult getVideoCount(@PathVariable String cameraFunType)
+ {
+ return success(tMonitorService.getVideoCount(cameraFunType));
+ }
+
+ /**
+ * 鑾峰彇寮傚父鎭㈠瑙嗛璁惧缁熻鏁�
+ */
+ @GetMapping("/recoveryException")
+ public AjaxResult recoveryException()
+ {
+ return success(tMonitorService.recoveryException());
+ }
+
+
}
--
Gitblit v1.8.0