调整任务列表以及同步任务接口
This commit is contained in:
@ -55,8 +55,11 @@ type StoreLoginReq struct {
|
||||
}
|
||||
|
||||
type StoreLoginRes struct {
|
||||
g.Meta `mime:"application/json"`
|
||||
Token string `json:"token"`
|
||||
g.Meta `mime:"application/json"`
|
||||
Token string `json:"token"`
|
||||
StoreId int64 `json:"storeId"`
|
||||
StoreName string `json:"storeName"`
|
||||
NetbarAccount string `json:"netbarAccount"`
|
||||
}
|
||||
|
||||
type Quan8AutologinReq struct {
|
||||
|
||||
@ -298,10 +298,12 @@ 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 string `json:"taskId" v:"required#任务id不能为空" dc:"任务Id"`
|
||||
RewardId int64 `json:"rewardId" v:"required#奖励id不能为空" dc:"奖励Id"`
|
||||
g.Meta `path:"/reward/taskReward" method:"post" tags:"Backend/Reward" summary:"(系统管理员、商户管理员、门店管理员)添加任务奖励"`
|
||||
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"`
|
||||
StoreId int64 `json:"storeId" dc:"门店Id"`
|
||||
NetbarAccount string `json:"netbarAccount" dc:"网吧账号"`
|
||||
}
|
||||
type OperateTaskRewardRes struct {
|
||||
Success bool `json:"success" dc:"是否成功"`
|
||||
|
||||
Reference in New Issue
Block a user