From ebeaa70c6963852db1557df986a525fb2fe764fa Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Mon, 16 Jan 2023 17:37:10 +0800
Subject: [PATCH] 社区图片展示

---
 src/api/dept/index.js |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/src/api/dept/index.js b/src/api/dept/index.js
index 7e1fb98..39fa00c 100644
--- a/src/api/dept/index.js
+++ b/src/api/dept/index.js
@@ -149,13 +149,24 @@
 }
 
 // 小区树形数据
-export const getPoliceStationLazyTree = (type, id) => {
+// export const getPoliceStationLazyTree = (type, id) => {
+//     return request({
+//         url: `/api/policeStationInfo/policeStationInfo/getPoliceStationLazyTree`,
+//         method: 'get',
+//         params: {
+//             type,
+//             id
+//         }
+//     })
+// }
+
+// 小区树形数据
+export const getPoliceStationTrees = (name) => {
     return request({
-        url: `/api/policeStationInfo/policeStationInfo/getPoliceStationLazyTree`,
+        url: `/api/policeStationInfo/policeStationInfo/getPoliceStationTrees`,
         method: 'get',
         params: {
-            type,
-            id
+            name
         }
     })
 }

--
Gitblit v1.9.3