调整回调,奖励领取

This commit is contained in:
chy
2025-07-03 13:40:53 +08:00
parent 6e562de6df
commit 4f9afe5df5
15 changed files with 722 additions and 287 deletions

View File

@ -27,11 +27,11 @@ type GameTaskConfigParse struct {
}
type GameTask struct {
RuleDesc string `json:"rule_desc"`
TaskDesc string `json:"task_desc"`
LimitPrize int `json:"-"`
LimitNum int `json:"-"`
//PrizeList []Prize `json:"prize_list"`
RuleDesc string `json:"rule_desc"`
TaskDesc string `json:"task_desc"`
LimitPrize int `json:"-"`
LimitNum int `json:"-"`
PrizeList []Prize `json:"prize_list,omitempty"`
TaskID string `json:"task_id"`
Title string `json:"title"`
CycleStart int64 `json:"cycle_start"`
@ -42,7 +42,8 @@ type GameTask struct {
UserTimes int64 `json:"user_times"`
GameTaskConfig GameTaskConfig `json:"game_task_config"`
GameTaskConfigParse GameTaskConfigParse `json:"game_task_config_parse"`
Reward []SimpleReward `json:"reward"`
Rewards []SimpleReward `json:"rewards"`
UserTaskId int64 `json:"userTaskId" orm:"-"`
}
type GameTaskResponse struct {
@ -164,9 +165,7 @@ type premiumPrivInfo struct {
type goodsType int64
type goodsDisplayType struct {
// FIXME
}
type goodsDisplayType int64
type merchantInfo struct {
// FIXME
@ -201,14 +200,17 @@ type privCoupon struct {
Url string `json:"url"`
}
type goodsExtraInfo struct {
OlCouponCfg olCouponCfg `json:"olcoupon_cfg"`
GoodsBrandInfo goodsBrandInfo `json:"goods_brand_info"`
ExpireType int `json:"expire_type"`
ExpireConfig expireConfig `json:"expire_config"`
MprocJmpCfg map[string]any `json:"mproc_jmp_cfg"` // 空对象可用 map[string]any 表示
ApplyGoods string `json:"apply_goods"`
NewlyBuilt bool `json:"newly_built"`
PrivCoupon privCoupon `json:"priv_coupon"`
OlCouponCfg olCouponCfg `json:"olcoupon_cfg"`
GoodsBrandInfo goodsBrandInfo `json:"goods_brand_info"`
ExpireType int `json:"expire_type"`
ExpireConfig expireConfig `json:"expire_config"`
MprocJmpCfg map[string]any `json:"mproc_jmp_cfg"` // 空对象可用 map[string]any 表示
ApplyGoods string `json:"apply_goods"`
NewlyBuilt bool `json:"newly_built"`
PrivCoupon privCoupon `json:"priv_coupon"`
SpecialStatement string `json:"special_statement"`
MoneyScoreInfo map[string]any `json:"money_score_info"`
GoodsPrice string `json:"goods_price"`
}
type water struct {