This commit is contained in:
Putoo
2026-07-11 18:52:38 +08:00
parent dec8c2e076
commit c40f3711bc
27 changed files with 577 additions and 18 deletions

View File

@@ -0,0 +1,25 @@
export class GiveService {
/**
* 获取赠送礼物物品
* GET /User/Give/GetUserGiftGoods
*/
static async GetUserGiftGoods(no: string) {
return await ApiService.Request("get", "/User/Give/GetUserGiftGoods", { no });
}
/**
* 赠送礼物
* GET /User/Give/ToGift
*/
static async ToGift(no: string, goodsId: number, count: number) {
return await ApiService.Request("get", "/User/Give/ToGift", { no, goodsId, count });
}
/**
* 获取礼物记录
* GET /User/Give/GetGiftLog
*/
static async GetGiftLog(no: string, page: number) {
return await ApiService.Request("get", "/User/Give/GetGiftLog", { no, page });
}
}