From 8d922fcde99c51653a4b2c1f2aee462f13ad7a21 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期五, 06 九月 2024 11:45:27 +0800
Subject: [PATCH] app

---
 iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/api/point/DataPointApi.java |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/api/point/DataPointApi.java b/iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/api/point/DataPointApi.java
index 88f676e..185eb18 100644
--- a/iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/api/point/DataPointApi.java
+++ b/iailab-module-data/iailab-module-data-api/src/main/java/com/iailab/module/data/api/point/DataPointApi.java
@@ -24,9 +24,13 @@
 
     String PREFIX = ApiConstants.PREFIX + "/point";
 
-    @PostMapping(PREFIX + "/point/{pointNo}")
+    @PostMapping(PREFIX + "/point-no/{pointNo}")
     @Operation(summary = "查询测点信息")
-    ApiPointDTO getPoint(@PathVariable("pointNo") String pointNo);
+    ApiPointDTO getPointByNo(@PathVariable("pointNo") String pointNo);
+
+    @PostMapping(PREFIX + "/point-id/{pointId}")
+    @Operation(summary = "查询测点信息")
+    ApiPointDTO getPointById(@PathVariable("pointId") String pointId);
 
     @PostMapping(PREFIX + "/current")
     @Operation(summary = "查询多个测点当前值")

--
Gitblit v1.9.3