From 51eeb5d0acba9b783e5c939c1fad4beffcaef8b2 Mon Sep 17 00:00:00 2001
From: web <candymxq888@outlook.com>
Date: 星期二, 29 四月 2025 09:22:29 +0800
Subject: [PATCH] fix:修改测试环境

---
 src/api/facility/point.js |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/api/facility/point.js b/src/api/facility/point.js
index ffc596c..db5afd1 100644
--- a/src/api/facility/point.js
+++ b/src/api/facility/point.js
@@ -36,5 +36,17 @@
 				data
 			});
 		},
+		get: (id) => {
+			return publicRequest({
+				url: `/waterMonitoryPoint/get?id=${id}`,
+				method: 'get',
+			});
+		},
+		getParentPoint: () => {
+			return publicRequest({
+				url: 'waterMonitoryPoint/getListTree',
+				method: 'get',
+			})
+		}
 	};
 }

--
Gitblit v1.9.3