增加部分接口

This commit is contained in:
YeMingfei666 2024-07-09 16:46:19 +08:00
parent d955593106
commit 8d2950e3f2
1 changed files with 31 additions and 0 deletions

View File

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