修改奖励配置接口,
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:"绑定类型"`
|
||||
@ -276,7 +276,7 @@ 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"`
|
||||
TaskId string `json:"taskId" v:"required#任务id不能为空" dc:"任务Id"`
|
||||
RewardId int64 `json:"rewardId" v:"required#奖励id不能为空" dc:"奖励Id"`
|
||||
}
|
||||
type OperateTaskRewardRes struct {
|
||||
|
||||
@ -231,7 +231,7 @@ type GetGoodsDetailsOut struct {
|
||||
type OperateTaskRewardIn struct {
|
||||
OperatorId int64
|
||||
OperatorRole string
|
||||
TaskId int64
|
||||
TaskId string
|
||||
RewardId int64
|
||||
Type int // 1: 任务添加奖励 2: 任务删除奖励
|
||||
StoreId int64 // 当前操作门店, 当操作为门店或者是商户时
|
||||
|
||||
Reference in New Issue
Block a user