From f894e1b53bcc948cb1fc9aecd2c01a77d7a1db03 Mon Sep 17 00:00:00 2001 From: yxh <172933527@qq.com> Date: 星期五, 11 八月 2023 18:34:46 +0800 Subject: [PATCH] yxh --- 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 a95a25d..75f4e3e 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 }) } @@ -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