实现用户领取任务接口、用户任务记录接口
This commit is contained in:
@ -20,24 +20,26 @@ type RewardTypesDao struct {
|
||||
|
||||
// RewardTypesColumns defines and stores column names for the table reward_types.
|
||||
type RewardTypesColumns struct {
|
||||
Id string // 奖励类型ID
|
||||
Name string // 类型名称
|
||||
Code string // 唯一编码
|
||||
IconUrl string // 图标链接地址
|
||||
CreatedAt string // 创建时间
|
||||
UpdatedAt string // 更新时间
|
||||
DeletedAt string // 软删除时间
|
||||
Id string // 奖励类型ID
|
||||
Name string // 类型名称
|
||||
Code string // 唯一编码
|
||||
IconUrl string // 图标链接地址
|
||||
CreatedAt string // 创建时间
|
||||
UpdatedAt string // 更新时间
|
||||
DeletedAt string // 软删除时间
|
||||
TencentTypeId string // 腾讯类型 id
|
||||
}
|
||||
|
||||
// rewardTypesColumns holds the columns for the table reward_types.
|
||||
var rewardTypesColumns = RewardTypesColumns{
|
||||
Id: "id",
|
||||
Name: "name",
|
||||
Code: "code",
|
||||
IconUrl: "icon_url",
|
||||
CreatedAt: "created_at",
|
||||
UpdatedAt: "updated_at",
|
||||
DeletedAt: "deleted_at",
|
||||
Id: "id",
|
||||
Name: "name",
|
||||
Code: "code",
|
||||
IconUrl: "icon_url",
|
||||
CreatedAt: "created_at",
|
||||
UpdatedAt: "updated_at",
|
||||
DeletedAt: "deleted_at",
|
||||
TencentTypeId: "tencent_type_id",
|
||||
}
|
||||
|
||||
// NewRewardTypesDao creates and returns a new DAO object for table data access.
|
||||
|
||||
@ -22,7 +22,7 @@ type RewardWatersDao struct {
|
||||
type RewardWatersColumns struct {
|
||||
Id string //
|
||||
OrderId string // 订单号
|
||||
Uid string // 用户账号
|
||||
Recvuid string // 用户账号
|
||||
TaskId string // 任务 id
|
||||
Water string // 兑换流水
|
||||
Status string // 兑换状态 1:奖励发放成功 2:奖励兑换失败(礼包发放背包环节成功,需重新引导领奖) 3:针对只需要发背包,然后引导用户到人生应用背包领奖的奖励类型,发奖成功了 4:water错误(一般是 orderid),不做兑换操作
|
||||
@ -35,7 +35,7 @@ type RewardWatersColumns struct {
|
||||
var rewardWatersColumns = RewardWatersColumns{
|
||||
Id: "id",
|
||||
OrderId: "order_id",
|
||||
Uid: "uid",
|
||||
Recvuid: "recvuid",
|
||||
TaskId: "task_id",
|
||||
Water: "water",
|
||||
Status: "status",
|
||||
|
||||
Reference in New Issue
Block a user