From 4a3a070d46e3a26cf3e053a2f0a007a4bef8fd99 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期四, 14 九月 2023 12:05:20 +0800
Subject: [PATCH] qq

---
 src/api/project/fund.js |   19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/src/api/project/fund.js b/src/api/project/fund.js
index a95a25d..1e52c9d 100644
--- a/src/api/project/fund.js
+++ b/src/api/project/fund.js
@@ -49,10 +49,17 @@
 }
 
 // 淇敼璐圭敤鐢宠涓�
+// export function updateFund(data) {
+//   return request({
+//     url: '/project/fund',
+//     method: 'put',
+//     data: data
+//   })
+// }
 export function updateFund(data) {
   return request({
-    url: '/project/fund',
-    method: 'put',
+    url: '/project/fund/fundEdit',
+    method: 'post',
     data: data
   })
 }
@@ -60,8 +67,8 @@
 // 鍒犻櫎璐圭敤鐢宠涓�
 export function delFund(id) {
   return request({
-    url: '/project/fund/' + id,
-    method: 'delete'
+    url: '/project/fund/remove/' + id,
+    method: 'get'
   })
 }
 
@@ -137,9 +144,9 @@
 }
 
 //鎵归噺涓婁紶璐圭敤鐢宠杩涜矾
-export function batchUploadFund(data) {
+export function addorupdateFund(data) {
   return request({
-    url: '/project/fund/addnew',
+    url: '/project/fund/addOrUpdateNew',
     method: 'post',
     data: data
   })

--
Gitblit v1.9.3