实现用户领取任务时,创建对应的奖励记录
This commit is contained in:
@ -75,10 +75,10 @@ type SelectorRes struct {
|
||||
// GetTaskReq 添加任务记录
|
||||
type GetTaskReq struct {
|
||||
g.Meta `path:"/task/get" method:"post" tags:"Task" summary:"(PC)任务领取"`
|
||||
TaskId int `json:"taskId" v:"required#任务id不能为空" dc:"任务id"`
|
||||
TaskId string `json:"taskId" v:"required#任务id不能为空" dc:"任务id"`
|
||||
StoreId int `json:"storeId" dc:"门店 id、网关账号必传一个"`
|
||||
NetBarAccount string `json:"netBarAccount" dc:"门店 id、网关账号必传一个"`
|
||||
GameId int `json:"gid" v:"required#游戏唯一id不能为空" dc:"游戏唯一id"`
|
||||
GameId int `json:"gameId" v:"required#游戏唯一id不能为空" dc:"游戏唯一id"`
|
||||
TaskName string `json:"taskName" v:"required#任务名称不能为空" dc:"任务名称"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user