From 5e2aafeede13d337380f736567caf74f49713be7 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 09 Aug 2024 14:38:32 +0800
Subject: [PATCH] 代码优化

---
 src/api/userHouse/list/userHouseList.js |   84 ++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 84 insertions(+), 0 deletions(-)

diff --git a/src/api/userHouse/list/userHouseList.js b/src/api/userHouse/list/userHouseList.js
index 21f2a3e..2b8649a 100644
--- a/src/api/userHouse/list/userHouseList.js
+++ b/src/api/userHouse/list/userHouseList.js
@@ -70,3 +70,87 @@
     }
   })
 }
+export const saveOrUpdateHouseLabelInfo = (row) => {
+  return request({
+    url: '/api/blade-householdLabel/householdLabel/saveOrUpdateHouseLabel',
+    method: 'post',
+    data: row
+  })
+}
+export const saveOrUpdateHouseholdLabel = (row) => {
+  return request({
+    url: '/api/blade-householdLabel/householdLabel/saveOrUpdateHouseholdLabel',
+    method: 'post',
+    data: row
+  })
+}
+export const removeHouseholdLabel = (row) => {
+  return request({
+    url: '/api/blade-householdLabel/householdLabel/removeHouseholdLabel',
+    method: 'post',
+    data: row
+  })
+}
+
+
+export const statisticalLabels = (current, size, params) => {
+  return request({
+    url: '/api/blade-householdLabel/householdLabel/getRegionStatisticalLabels',
+    method: 'get',
+    params: {
+      ...params,
+      current,
+      size,
+    }
+  })
+}
+
+export const getOrgStatisticalLabels = (current, size, params) => {
+  return request({
+    url: '/api/blade-householdLabel/householdLabel/getOrgStatisticalLabels',
+    method: 'get',
+    params: {
+      ...params,
+      current,
+      size,
+    }
+  })
+}
+
+
+export const getUnitedFrontStatisticalLabels = (current, size, params) => {
+  return request({
+    url: '/api/blade-householdLabel/householdLabel/getUnitedFrontStatisticalLabels',
+    method: 'get',
+    params: {
+      ...params,
+      current,
+      size,
+    }
+  })
+}
+
+
+export const getFollowStatisticalLabels = (current, size, params) => {
+  return request({
+    url: '/api/blade-householdLabel/householdLabel/getFollowStatisticalLabels',
+    method: 'get',
+    params: {
+      ...params,
+      current,
+      size,
+    }
+  })
+}
+
+export const getCommunityStatisticalLabels = (current, size, params) => {
+  return request({
+    url: '/api/blade-householdLabel/householdLabel/getCommunityStatisticalLabels',
+    method: 'get',
+    params: {
+      ...params,
+      current,
+      size,
+    }
+  })
+}
\ No newline at end of file

--
Gitblit v1.9.3