新增奖励回调接口,调整奖励领取接口
This commit is contained in:
@ -202,21 +202,23 @@ type CallbackData struct {
|
||||
Comment string `json:"comment"`
|
||||
}
|
||||
type CallbackRes struct {
|
||||
Errcode int32 `json:"errcode"`
|
||||
Errmsg string `json:"errmsg"`
|
||||
AppId string `json:"appid"`
|
||||
OrderId string `json:"order_id"`
|
||||
Datas []CallbackData `json:"data"`
|
||||
Errcode int32 `json:"errcode"`
|
||||
Errmsg string `json:"errmsg"`
|
||||
AppId string `json:"appid"`
|
||||
OrderId string `json:"order_id"`
|
||||
//Datas []CallbackData `json:"data"`
|
||||
Datas interface{} `json:"data"`
|
||||
}
|
||||
|
||||
type GetLiftReq struct {
|
||||
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:""`
|
||||
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" v:"required#奖励类型不能为空" dc:"奖励类型"`
|
||||
PopenId string `json:"popenid" dc:""`
|
||||
Source int `json:"source" v:"required#来源不能为空" dc:"来源" d:"1:系统 2:门店"`
|
||||
}
|
||||
|
||||
type GetLiftRes struct {
|
||||
|
||||
Reference in New Issue
Block a user