修改tencent回调,领取奖励部分
This commit is contained in:
@ -30,6 +30,7 @@ type RewardWatersColumns struct {
|
|||||||
CreatedAt string //
|
CreatedAt string //
|
||||||
UpdatedAt string //
|
UpdatedAt string //
|
||||||
DeletedAt string //
|
DeletedAt string //
|
||||||
|
GameId string // 游戏唯一 id
|
||||||
}
|
}
|
||||||
|
|
||||||
// rewardWatersColumns holds the columns for the table reward_waters.
|
// rewardWatersColumns holds the columns for the table reward_waters.
|
||||||
@ -43,6 +44,7 @@ var rewardWatersColumns = RewardWatersColumns{
|
|||||||
CreatedAt: "created_at",
|
CreatedAt: "created_at",
|
||||||
UpdatedAt: "updated_at",
|
UpdatedAt: "updated_at",
|
||||||
DeletedAt: "deleted_at",
|
DeletedAt: "deleted_at",
|
||||||
|
GameId: "game_id",
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewRewardWatersDao creates and returns a new DAO object for table data access.
|
// NewRewardWatersDao creates and returns a new DAO object for table data access.
|
||||||
|
|||||||
@ -21,4 +21,5 @@ type RewardWaters struct {
|
|||||||
CreatedAt *gtime.Time //
|
CreatedAt *gtime.Time //
|
||||||
UpdatedAt *gtime.Time //
|
UpdatedAt *gtime.Time //
|
||||||
DeletedAt *gtime.Time //
|
DeletedAt *gtime.Time //
|
||||||
|
GameId interface{} // 游戏唯一 id
|
||||||
}
|
}
|
||||||
|
|||||||
@ -19,4 +19,5 @@ type RewardWaters struct {
|
|||||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""` //
|
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""` //
|
||||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""` //
|
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""` //
|
||||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:""` //
|
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:""` //
|
||||||
|
GameId int `json:"gameId" orm:"game_id" description:"游戏唯一 id"` // 游戏唯一 id
|
||||||
}
|
}
|
||||||
|
|||||||
@ -22,3 +22,18 @@ type GetUserClaimListOut struct {
|
|||||||
List []Reward
|
List []Reward
|
||||||
Total int
|
Total int
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type UserTaskRewards struct {
|
||||||
|
Id int64 `json:"id" orm:"id" description:"用户任务奖励记录唯一标识符"` // 用户任务奖励记录唯一标识符
|
||||||
|
UserTaskId int64 `json:"userTaskId" orm:"user_task_id" description:"关联用户任务记录ID"` // 关联用户任务记录ID
|
||||||
|
RewardId int64 `json:"rewardId" orm:"reward_id" description:"奖励ID"` // 奖励ID
|
||||||
|
RewardName string `json:"rewardName" orm:"reward_name" description:"奖励名称冗余字段"` // 奖励名称冗余字段
|
||||||
|
Status int `json:"status" orm:"status" description:"状态:1=待用户完成任务,2=待领取,3=已领取, 待兑换,4=已过期,5=发放失败, 6=结束"` // 状态:1=待用户完成任务,2=待领取,3=已领取, 待兑换,4=已过期,5=发放失败, 6=结束
|
||||||
|
Remark string `json:"remark" orm:"remark" description:"备注或失败原因"` // 备注或失败原因
|
||||||
|
ExternalOrderId string `json:"externalOrderId" orm:"external_order_id" description:"第三方发放平台的订单ID"` // 第三方发放平台的订单ID
|
||||||
|
InnerOrderId string `json:"innerOrderId" orm:"inner_order_id" description:"系统内部订单ID"` // 系统内部订单ID
|
||||||
|
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:"软删除时间"` // 软删除时间
|
||||||
|
ExpiredAt *gtime.Time `json:"expiredAt" orm:"expired_at" description:"奖励过期时间"` // 奖励过期时间
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user