From d2e2df7c4805cc9c5e4e915202f304e0e9a53758 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 23 May 2025 09:49:31 +0800
Subject: [PATCH] 临川优化

---
 src/api/space/space.js |   45 +++++++++++++++++++++++++++++++--------------
 1 files changed, 31 insertions(+), 14 deletions(-)

diff --git a/src/api/space/space.js b/src/api/space/space.js
index b6c5fb0..1b029a3 100644
--- a/src/api/space/space.js
+++ b/src/api/space/space.js
@@ -1,22 +1,39 @@
 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,
-    });
-};
\ No newline at end of file
+  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,
+  })
+}
+
+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