调整用户可领奖励列表和 用户任务记录列表接口
This commit is contained in:
@ -287,7 +287,8 @@ type GetUserRewardsCanClaimListReq struct {
|
||||
g.Meta `path:"/reward/canClaim" method:"get" tags:"Reward" summary:"(PC)获取用户可领取的奖励列表"`
|
||||
StoreId int64 `json:"storeId" dc:"门店id"`
|
||||
NetbarAccount string `json:"netbarAccount" dc:"网吧账号"`
|
||||
TaskId string `json:"taskId" dc:"任务id" v:"required#任务id不能为空"`
|
||||
TaskId string `json:"taskId" dc:"任务id,任务列表使用"`
|
||||
UserTaskId int64 `json:"userTaskId" dc:"用户任务记录id, 任务记录列表使用"`
|
||||
}
|
||||
|
||||
type GetUserRewardsCanClaimListRes struct {
|
||||
|
||||
@ -88,13 +88,13 @@ type GetTaskRes struct {
|
||||
|
||||
type GetUserTaskRecordsListReq struct {
|
||||
g.Meta `path:"/task/records" method:"get" tags:"Task" summary:"(PC)用户任务记录列表"`
|
||||
TaskId string `json:"taskId" dc:"任务 id"`
|
||||
RewardTypeId int `json:"rewardTypeId" dc:"奖励类型 id,暂时没有"` // TODO
|
||||
StoreId int `json:"storeId" dc:"门店 id"`
|
||||
NetbarAccount string `json:"netbarAccount" dc:"网关账号"`
|
||||
GameId int `json:"gameId" dc:"游戏 id"`
|
||||
NetbarAccount string `json:"netbarAccount" dc:"网关账号, 用户查询在本店完成的任务记录"`
|
||||
Page int `json:"page" dc:"页数"`
|
||||
Size int `json:"size" dc:"条数"`
|
||||
StartTime int32 `json:"startTime" dc:"开始时间"`
|
||||
EndTime int32 `json:"endTime" dc:"结束时间"`
|
||||
TimeType int `json:"timeType" dc:"时间类型, 暂时没有"` //TODO
|
||||
}
|
||||
type GetUserTaskRecordsListRes struct {
|
||||
List interface{} `json:"list"`
|
||||
|
||||
Reference in New Issue
Block a user