From a1328ab8ff8c228c7720ece503f82d3f2b9a05df Mon Sep 17 00:00:00 2001 From: Sun_sun <469361609@qq.com> Date: Wed, 10 Sep 2025 15:15:13 +0800 Subject: [PATCH] =?UTF-8?q?2025-09-10=20[=E4=BF=AE=E6=94=B9]=E7=9B=B4?= =?UTF-8?q?=E8=90=A5=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/api.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils/api.js b/src/utils/api.js index 81d50b5..1118012 100644 --- a/src/utils/api.js +++ b/src/utils/api.js @@ -207,9 +207,10 @@ const api = { directSale: { getStats: () => request.get('/direct-sale/stats'),// 获取整体数据 getDirectSales: (params) => request.get('/direct-sale', {params}),// 获取直营列表 - withdraw: (id) => request.post(`/direct-sale/${id}/withdraw`),// 提现 + withdraw: (data) => request.post(`/api/users/withdraw`, data),// 提现 // 直营用户 addUser: (data) => request.post(`/users/create`, data), + listUsers: (params) => request.get('/users/directly_operated', {params}), }, // 文件上传