新增获取网费奖励列表
This commit is contained in:
@ -33,6 +33,14 @@ type Reward struct {
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"删除时间(软删除)"` // 删除时间(软删除)
|
||||
}
|
||||
|
||||
type InternetChargeReward struct {
|
||||
g.Meta `orm:"table:rewards"`
|
||||
Id int64 `json:"id" orm:"id" description:"奖励ID"` // 奖励ID
|
||||
Name string `json:"name" orm:"name" description:"奖励名称"` // 奖励名称
|
||||
GrantQuantity uint64 `json:"grantQuantity" orm:"grant_quantity" description:"每次发放个数"` // 每次发放个数
|
||||
}
|
||||
|
||||
type SimpleReward struct {
|
||||
g.Meta `orm:"table:rewards"`
|
||||
Id int64 `json:"id" orm:"id" description:"奖励ID"` // 奖励ID
|
||||
@ -156,6 +164,11 @@ type RewardListOut struct {
|
||||
Total int
|
||||
}
|
||||
|
||||
type InternetChargeRewardListOut struct {
|
||||
List []InternetChargeReward
|
||||
Total int
|
||||
}
|
||||
|
||||
// RewardCallbackIn 任务奖励领取回调入参
|
||||
type RewardCallbackIn struct {
|
||||
Uid string `json:"uid" ` // 用户账号
|
||||
|
||||
Reference in New Issue
Block a user