From 4f9b729dac1bc53bb1d0ddf43cf8c60ff5cdd8b7 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 07 九月 2023 16:28:35 +0800
Subject: [PATCH] 11

---
 src/api/project/fund.js |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/src/api/project/fund.js b/src/api/project/fund.js
index a95a25d..aa853d5 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
   })
 }
@@ -61,7 +68,7 @@
 export function delFund(id) {
   return request({
     url: '/project/fund/' + id,
-    method: 'delete'
+    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