121212
This commit is contained in:
@@ -22,4 +22,36 @@ export class GiveService {
|
||||
static async GetGiftLog(no: string, page: number) {
|
||||
return await ApiService.Request("get", "/User/Give/GetGiftLog", { no, page });
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取赠送物品列表
|
||||
* GET /User/Give/GetGoodsData
|
||||
*/
|
||||
static async GetGoodsData(no: string, type: number, query: string, page: number) {
|
||||
return await ApiService.Request("get", "/User/Give/GetGoodsData", { no, type, query, page });
|
||||
}
|
||||
|
||||
/**
|
||||
* 赠送物品
|
||||
* GET /User/Give/GiveGoods
|
||||
*/
|
||||
static async GiveGoods(no: string, type: number, propId: string, count: number) {
|
||||
return await ApiService.Request("get", "/User/Give/GiveGoods", { no, type, propId, count });
|
||||
}
|
||||
|
||||
/**
|
||||
* 逗一下物品列表
|
||||
* GET /User/Give/GetUserDouGoods
|
||||
*/
|
||||
static async GetUserDouGoods(no: string) {
|
||||
return await ApiService.Request("get", "/User/Give/GetUserDouGoods", { no });
|
||||
}
|
||||
|
||||
/**
|
||||
* 使用逗物品
|
||||
* GET /User/Give/UseDou
|
||||
*/
|
||||
static async UseDou(no: string, goodsId: number, count: number) {
|
||||
return await ApiService.Request("get", "/User/Give/UseDou", { no, goodsId, count });
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user