From 3cda8f117002469fc0069416704a44930dea4701 Mon Sep 17 00:00:00 2001
From: vincentlu <t1341870251@gmail.com>
Date: 星期一, 15 十二月 2025 10:40:44 +0800
Subject: [PATCH] #

---
 zy-acs-flow/src/map/http.js |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/zy-acs-flow/src/map/http.js b/zy-acs-flow/src/map/http.js
index be18f40..6180ac3 100644
--- a/zy-acs-flow/src/map/http.js
+++ b/zy-acs-flow/src/map/http.js
@@ -396,6 +396,22 @@
     }
 }
 
+export const getAreaInfo = async (param, callback) => {
+    await request.get('/map/area/get', param).then((res) => {
+        const { code, msg, data } = res.data;
+        if (code === 200) {
+            if (callback) {
+                callback(data)
+            }
+        } else {
+            notify.error(msg);
+        }
+    }).catch((error) => {
+        notify.error(error.message);
+        console.error(error.message);
+    })
+}
+
 export const saveAreaData = async (zoneId, areaData) => {
     try {
         const res = await request.post('/map/area/save', {

--
Gitblit v1.9.1