From 335f9ce8a5efb5be1c8d7c422d2beee6fd77cd97 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Fri, 08 Jul 2022 10:13:42 +0800
Subject: [PATCH] 多农场修改

---
 src/api/land/land.js |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/src/api/land/land.js b/src/api/land/land.js
index fbeb54a..63d9eca 100644
--- a/src/api/land/land.js
+++ b/src/api/land/land.js
@@ -2,7 +2,7 @@
 
 export const getList = (current, size, params) => {
     return request({
-        url: '/api/land/land/list',
+        url: '/api/land/land/page',
         method: 'get',
         params: {
             ...params,
@@ -34,7 +34,7 @@
 
 export const add = (row) => {
     return request({
-        url: '/api/land/land/submit',
+        url: '/api/land/land/save',
         method: 'post',
         data: row
     })
@@ -57,3 +57,13 @@
         }
     })
 }
+
+export const selectCount = (deptId) => {
+    return request({
+        url: '/api/land/land/selectCount',
+        method: 'get',
+        params: {
+            deptId
+        }
+    })
+}
\ No newline at end of file

--
Gitblit v1.9.3