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

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

@ -30,6 +30,7 @@ type RewardCallbackColumns struct {
PrizeSubType string // 奖励子类型,默认为 0有多种子类型时可用如 1,5 元网费充值券2、满 30-5 满减券等
Num string // 奖励个数,默认 1比如经验值 10
CustomInfo string // 透传字段 (json串)
AppId string // 业务 id标识业务方由游戏人生提供
}
// rewardCallbackColumns holds the columns for the table reward_callback.
@ -43,6 +44,7 @@ var rewardCallbackColumns = RewardCallbackColumns{
PrizeSubType: "prize_sub_type",
Num: "num",
CustomInfo: "custom_info",
AppId: "app_id",
}
// NewRewardCallbackDao creates and returns a new DAO object for table data access.

View File

@ -30,6 +30,7 @@ type RewardWatersColumns struct {
CreatedAt string //
UpdatedAt string //
DeletedAt string //
GameId string // 游戏唯一 id
}
// rewardWatersColumns holds the columns for the table reward_waters.
@ -43,6 +44,7 @@ var rewardWatersColumns = RewardWatersColumns{
CreatedAt: "created_at",
UpdatedAt: "updated_at",
DeletedAt: "deleted_at",
GameId: "game_id",
}
// NewRewardWatersDao creates and returns a new DAO object for table data access.