From a2a2209f983a2bb736b59c9217790740930e7017 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 06 八月 2024 15:13:45 +0800
Subject: [PATCH] Monitor结构更新
---
ycl-server/src/main/java/com/ycl/feign/UYClient.java | 26 ++++++++++++++++++++------
1 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/ycl-server/src/main/java/com/ycl/feign/UYClient.java b/ycl-server/src/main/java/com/ycl/feign/UYClient.java
index 5286b2a..17a3026 100644
--- a/ycl-server/src/main/java/com/ycl/feign/UYClient.java
+++ b/ycl-server/src/main/java/com/ycl/feign/UYClient.java
@@ -2,13 +2,14 @@
import com.alibaba.fastjson2.JSONObject;
import com.ycl.platform.domain.param.UY.*;
+import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
-import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RequestHeader;
/**
* @author gonghl
@@ -16,17 +17,17 @@
*/
@Component
-@FeignClient(name = "UYClient", url = "${request.youYunDomain}", configuration = YYFeignConfig.class)
+@FeignClient(name = "UYClient", url = "${request.youYunDomain}", configuration = UYFeignConfig.class)
public interface UYClient {
/**
* 涓�鏈轰竴妗�
*
- * @param cameraParam 璇锋眰鍙傛暟
+ * @param oneMachineFileParam 璇锋眰鍙傛暟
* @return 鏌ヨ鎽勫儚鏈烘竻鍗曢泦鍚�
*/
@GetMapping("/VIID/Cameras")
- JSONObject cameraList(@SpringQueryMap CameraParam cameraParam);
+ JSONObject oneMachineFile(@SpringQueryMap OneMachineFileParam oneMachineFileParam);
/**
* 鐐逛綅鍦ㄧ嚎
@@ -46,8 +47,12 @@
@PostMapping("/report/recordMetaDSum/list")
JSONObject recordMetaDSumList(@RequestBody RecordMetaDSumParam recordMetaDSumParam);
+ /**
+ * osd鏍囨敞淇℃伅
+ * @return
+ */
@GetMapping("/api/v1/app/osdMonitor/list")
- JSONObject osdMonitorList();
+ JSONObject osdMonitorList(@SpringQueryMap OsdMonitorParam param, @RequestHeader("tenantId") String tenantId);
/**
* 鍥惧儚妫�娴嬭瘖鏂粨鏋�
@@ -65,5 +70,14 @@
* @return
*/
@GetMapping("/api/v1/app/report/vqd/detail/list")
- JSONObject queryVqdResult(@SpringQueryMap VideoQualityParam param);
+ JSONObject videoQuality(@SpringQueryMap VideoQualityParam param);
+
+ /**
+ * 浼樹簯鑾峰彇token鎺ュ彛
+ *
+ * @param param
+ * @return
+ */
+ @PostMapping(value = "/tenant/api/vi/user/login",headers = "No-Need-To-Token=true")
+ JSONObject getToken(@RequestBody UYTokenParam param);
}
--
Gitblit v1.8.0