修改奖励列表接口返回奖励类型名称
This commit is contained in:
@ -10,6 +10,7 @@ type Reward struct {
|
||||
StoreId int64 `json:"storeId" orm:"store_id" description:"门店ID,系统奖励为NULL"` // 门店ID,系统奖励为NULL
|
||||
Name string `json:"name" orm:"name" description:"奖励名称"` // 奖励名称
|
||||
RewardTypeId int64 `json:"rewardTypeId" orm:"reward_type_id" description:"奖励类型ID,关联 reward_types 表"` // 奖励类型ID,关联 reward_types 表
|
||||
RewardTypeName string `json:"rewardTypeName" orm:"reward_type_name" description:"奖励类型名称"` // 奖励类型名称
|
||||
GameId int64 `json:"gameId" orm:"game_id" description:"游戏ID"` // 游戏ID
|
||||
ImageUrl string `json:"imageUrl" orm:"image_url" description:"奖励图片链接"` // 奖励图片链接
|
||||
QqGoodsId string `json:"qqGoodsId" orm:"qq_goods_id" description:"QQ网吧物品ID"` // QQ网吧物品ID
|
||||
@ -193,3 +194,15 @@ type GetGoodsDetailsIn struct {
|
||||
type GetGoodsDetailsOut struct {
|
||||
Goods Water `json:"goods" dc:"物品详情"`
|
||||
}
|
||||
|
||||
type OperateTaskRewardIn struct {
|
||||
OperatorId int64
|
||||
OperatorRole string
|
||||
TaskId int64
|
||||
RewardId int64
|
||||
Type int // 1: 任务添加奖励 2: 任务删除奖励
|
||||
StoreId int64 // 当前操作门店, 当操作为门店或者是商户时
|
||||
}
|
||||
type OperateTaskRewardOut struct {
|
||||
Success bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user