新增获取用户完成任务列表,修改领取任务

This commit is contained in:
chy
2025-06-19 15:34:20 +08:00
parent 9d41358f83
commit 64f63e6b28
14 changed files with 73 additions and 48 deletions

View File

@ -31,6 +31,8 @@ type UserTasksColumns struct {
CompletedAt string // 任务完成时间
DeletedAt string // 软删除时间戳
StoreId string // 门店 id
TaskName string // 任务名称
GameId string // 游戏 id
}
// userTasksColumns holds the columns for the table user_tasks.
@ -45,6 +47,8 @@ var userTasksColumns = UserTasksColumns{
CompletedAt: "completed_at",
DeletedAt: "deleted_at",
StoreId: "store_id",
TaskName: "task_name",
GameId: "game_id",
}
// NewUserTasksDao creates and returns a new DAO object for table data access.