调整奖励回调接口,调整奖励领取接口

This commit is contained in:
chy
2025-06-26 09:38:09 +08:00
parent ecee39efff
commit e1d8f0becd
9 changed files with 45 additions and 13 deletions

View File

@ -15,4 +15,5 @@ type RewardCallback struct {
PrizeSubType int `json:"prizeSubType" orm:"prize_sub_type" description:"奖励子类型,默认为 0有多种子类型时可用如 1,5 元网费充值券2、满 30-5 满减券等"` // 奖励子类型,默认为 0有多种子类型时可用如 1,5 元网费充值券2、满 30-5 满减券等
Num int `json:"num" orm:"num" description:"奖励个数,默认 1比如经验值 10"` // 奖励个数,默认 1比如经验值 10
CustomInfo string `json:"customInfo" orm:"custom_info" description:"透传字段 (json串)"` // 透传字段 (json串)
AppId string `json:"appId" orm:"app_id" description:"业务 id标识业务方由游戏人生提供"` // 业务 id标识业务方由游戏人生提供
}

View File

@ -19,4 +19,5 @@ type RewardWaters struct {
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""` //
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""` //
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:""` //
GameId int64 `json:"gameId" orm:"game_id" description:"游戏唯一 id"` // 游戏唯一 id
}