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" + }); +}