调整回调,奖励领取
This commit is contained in:
@ -21,14 +21,18 @@ type TaskRewardsDao struct {
|
||||
|
||||
// TaskRewardsColumns defines and stores column names for the table task_rewards.
|
||||
type TaskRewardsColumns struct {
|
||||
TaskId string // 任务ID
|
||||
RewardId string // 奖励ID
|
||||
TaskId string // 任务ID
|
||||
RewardId string // 奖励ID
|
||||
NetbarAccount string // 门店网关账号
|
||||
StoreId string // 门店 id
|
||||
}
|
||||
|
||||
// taskRewardsColumns holds the columns for the table task_rewards.
|
||||
var taskRewardsColumns = TaskRewardsColumns{
|
||||
TaskId: "task_id",
|
||||
RewardId: "reward_id",
|
||||
TaskId: "task_id",
|
||||
RewardId: "reward_id",
|
||||
NetbarAccount: "netbar_account",
|
||||
StoreId: "store_id",
|
||||
}
|
||||
|
||||
// NewTaskRewardsDao creates and returns a new DAO object for table data access.
|
||||
|
||||
@ -33,6 +33,9 @@ type UserTaskRewardsColumns struct {
|
||||
UpdatedAt string // 更新时间
|
||||
DeletedAt string // 软删除时间
|
||||
ExpiredAt string // 奖励过期时间
|
||||
IssueQuantity string //
|
||||
Source string // 来源 1:系统 2:门店
|
||||
RewardTypeId string // 奖励类型 id
|
||||
}
|
||||
|
||||
// userTaskRewardsColumns holds the columns for the table user_task_rewards.
|
||||
@ -49,6 +52,9 @@ var userTaskRewardsColumns = UserTaskRewardsColumns{
|
||||
UpdatedAt: "updated_at",
|
||||
DeletedAt: "deleted_at",
|
||||
ExpiredAt: "expired_at",
|
||||
IssueQuantity: "issue_quantity",
|
||||
Source: "source",
|
||||
RewardTypeId: "reward_type_id",
|
||||
}
|
||||
|
||||
// NewUserTaskRewardsDao creates and returns a new DAO object for table data access.
|
||||
|
||||
Reference in New Issue
Block a user