调整回调,奖励领取

This commit is contained in:
chy
2025-07-03 13:40:53 +08:00
parent 6e562de6df
commit 4f9afe5df5
15 changed files with 722 additions and 287 deletions

View File

@ -6,6 +6,8 @@ package entity
// TaskRewards is the golang structure for table task_rewards.
type TaskRewards struct {
TaskId string `json:"taskId" orm:"task_id" description:"任务ID"` // 任务ID
RewardId int64 `json:"rewardId" orm:"reward_id" description:"奖励ID"` // 奖励ID
TaskId string `json:"taskId" orm:"task_id" description:"任务ID"` // 任务ID
RewardId int64 `json:"rewardId" orm:"reward_id" description:"奖励ID"` // 奖励ID
NetbarAccount string `json:"netbarAccount" orm:"netbar_account" description:"门店网关账号"` // 门店网关账号
StoreId int `json:"storeId" orm:"store_id" description:"门店 id"` // 门店 id
}

View File

@ -22,4 +22,7 @@ type UserTaskRewards struct {
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:"奖励过期时间"` // 奖励过期时间
IssueQuantity int `json:"issueQuantity" orm:"issue_quantity" description:""` //
Source int64 `json:"source" orm:"source" description:"来源 1:系统 2门店"` // 来源 1:系统 2门店
RewardTypeId int64 `json:"rewardTypeId" orm:"reward_type_id" description:"奖励类型 id"` // 奖励类型 id
}