修改奖励领取,新增奖励物品详情查询

This commit is contained in:
chy
2025-06-23 16:10:36 +08:00
parent bbd3968429
commit effc4113dc
29 changed files with 495 additions and 161 deletions

View File

@ -185,13 +185,13 @@ type CallbackRes struct {
}
type GetLiftReq struct {
g.Meta `path:"/reward/getLift" method:"post" tags:"Reward" summary:"(tencent)回调"`
TaskId int64 `json:"taskId" v:"required#任务id不能为空" dc:"任务Id"`
AreaId int64 `json:"areaId" dc:"大区Id"`
GameId int64 `json:"gid" v:"required#游戏id不能为空" dc:"游戏Id"`
RoleIdx string `json:"roleIdx" dc:"角色索引"`
RewradType []int64 `json:"rewardType" v:"required#奖励类型不能为空" dc:"奖励类型"`
Water Water `json:"water" v:"required#物品流水从背包列表获取的water透传回来water类型参考GetGift接口的water结构" dc:"礼包列表"`
g.Meta `path:"/reward/getLift" method:"post" tags:"Reward" summary:"(tencent)奖励领取"`
TaskId string `json:"taskId" v:"required#任务id不能为空" dc:"任务Id"`
AreaId int64 `json:"areaId" dc:"大区Id"`
GameId int64 `json:"gameId" v:"required#游戏id不能为空" dc:"游戏Id"`
RoleIdx string `json:"roleIdx" dc:"角色索引"`
RewradType []int64 `json:"rewardType" dc:"奖励类型"`
PopenId string `json:"popenid" dc:""`
}
type GetLiftRes struct {
@ -238,5 +238,5 @@ type GetGoodsDetailsReq struct {
IsDetail int64 `json:"isDetail" dc:"是否需要物品详情 0默认需要 1不需要"`
}
type GetGoodsDetailsRes struct {
Water *Water `json:"water" dc:"流水信息"`
Water interface{} `json:"water" dc:"流水信息"`
}