From c7c376e151fd91c6b94b72b691e9b158755723a8 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期一, 11 九月 2023 15:23:48 +0800 Subject: [PATCH] 11 --- src/api/project/fund.js | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/api/project/fund.js b/src/api/project/fund.js index 6cdd4e2..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' }) } -- Gitblit v1.9.3