From 8d2950e3f2dd9071a4a22e1343f9df37289b3b3c Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Tue, 9 Jul 2024 16:46:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=83=A8=E5=88=86=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/shop.js | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/src/api/shop.js b/src/api/shop.js index 3a7a91c..8e6c02f 100644 --- a/src/api/shop.js +++ b/src/api/shop.js @@ -495,3 +495,34 @@ export function upCategorySort(data) { }); } + +/** + * 查询店铺充值记录 + * @returns + */ +export function tbShopUserRecharge(params) { + return request({ + url: `/api/tbShopUser/recharge`, + method: "get", + params: { + shopId: localStorage.getItem("shopId"), + ...params + } + }); +} + +/** + * 导出充值记录 + * @returns + */ +export function downloadTableRecharge(data) { + return request({ + url: `/api/tbShopUser/recharge/download`, + method: "post", + data:{ + shopId: localStorage.getItem("shopId"), + ...data + }, + responseType: "blob" + }); +}