调整奖励回调接口,调整奖励领取接口
This commit is contained in:
@ -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.
|
||||
|
||||
@ -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.
|
||||
|
||||
Reference in New Issue
Block a user