修改奖励配置接口,
This commit is contained in:
@ -215,7 +215,7 @@ type GetLiftReq struct {
|
||||
RewardType int `json:"rewardType" dc:"奖励类型"`
|
||||
RewardId int `json:"rewardId" v:"required#奖励id不能为空" dc:"奖励id"`
|
||||
PopenId string `json:"popenId" v:"required#popenId不能为空" dc:"popenId不能为空"`
|
||||
Source int `json:"source" v:"required#来源不能为空" dc:"来源" d:"1:系统 2:门店"`
|
||||
Source int `json:"source" v:"required#来源不能为空" dc:"来源,1:系统 2:门店"`
|
||||
TaskId string `json:"taskId" v:"required#任务id不能为空" dc:"任务Id"`
|
||||
GameId int `json:"gameId" v:"required#游戏id不能为空" dc:"游戏Id"`
|
||||
BindType int `json:"bindType" v:"required#绑定类型不能为空" dc:"绑定类型"`
|
||||
@ -275,9 +275,9 @@ type GetGoodsDetailsRes struct {
|
||||
|
||||
type OperateTaskRewardReq struct {
|
||||
g.Meta `path:"/reward/taskReward" method:"post" tags:"Backend/Reward" summary:"(系统管理员、商户管理员、门店管理员)添加任务奖励"`
|
||||
Type int `json:"type" v:"required#操作类型只能为1或2,1是添加、2是删除" dc:"操作类型"`
|
||||
TaskId int64 `json:"taskId" v:"required#任务id不能为空" dc:"任务Id"`
|
||||
RewardId int64 `json:"rewardId" v:"required#奖励id不能为空" dc:"奖励Id"`
|
||||
Type int `json:"type" v:"required#操作类型只能为1或2,1是添加、2是删除" dc:"操作类型"`
|
||||
TaskId string `json:"taskId" v:"required#任务id不能为空" dc:"任务Id"`
|
||||
RewardId int64 `json:"rewardId" v:"required#奖励id不能为空" dc:"奖励Id"`
|
||||
}
|
||||
type OperateTaskRewardRes struct {
|
||||
Success bool `json:"success" dc:"是否成功"`
|
||||
|
||||
Reference in New Issue
Block a user