From 6d932472d41bcb6dbcb3a5e6791c1a40e93cafbe Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Sat, 04 Jan 2025 20:17:49 +0800
Subject: [PATCH] 图层控制-应急空间更新

---
 src/api/space/space.js |   64 ++++++++++++++++++++------------
 1 files changed, 40 insertions(+), 24 deletions(-)

diff --git a/src/api/space/space.js b/src/api/space/space.js
index 59ad24a..9492e64 100644
--- a/src/api/space/space.js
+++ b/src/api/space/space.js
@@ -1,30 +1,46 @@
+/*
+ * @Author: shuishen 1109946754@qq.com
+ * @Date: 2025-01-04 20:09:53
+ * @LastEditors: shuishen 1109946754@qq.com
+ * @LastEditTime: 2025-01-04 20:11:47
+ * @FilePath: \bigScreen\src\api\space\space.js
+ * @Description: 
+ * 
+ * Copyright (c) 2025 by shuishen, All Rights Reserved. 
+ */
 import request from 'utils/http'
 
 export const getDetail = (params) => {
-    const url = `/yw/emergencySpace/getDetail`;
-    return request({
-        url,
-        method: 'get',
-        params,
-    });
-};
-
-
-
+  const url = `/yw/emergencySpace/getDetail`
+  return request({
+    url,
+    method: 'get',
+    params,
+  })
+}
 
 export const getList = (params) => {
-    const url = `/yw/emergencySpace/page`;
-    return request({
-        url,
-        method: 'get',
-        params,
-    });
-};
+  const url = `/yw/emergencySpace/page`
+  return request({
+    url,
+    method: 'get',
+    params,
+  })
+}
 export const getGouQu = (params) => {
-    const url = `/yw/emergencySpace/page`;
-    return request({
-        url,
-        method: 'get',
-        params,
-    });
-};
\ No newline at end of file
+  const url = `/yw/emergencySpace/page`
+  return request({
+    url,
+    method: 'get',
+    params,
+  })
+}
+
+export const updateSpace = (data) => {
+  const url = `/yw/emergencySpace/update`
+  return request({
+    url,
+    method: 'post',
+    data,
+  })
+}
\ No newline at end of file

--
Gitblit v1.9.3