用户任务记录新增字段记录领取任务账号 id

This commit is contained in:
2025-07-10 15:26:07 +08:00
parent 4b3dcac324
commit b2df628923
9 changed files with 19 additions and 6 deletions

View File

@ -34,6 +34,7 @@ type UserTasksColumns struct {
GameId string // 游戏 id
TaskType string // 1: 每日任务 3: 周期任务
UserTimes string // 用户完成次数
BindType string // 当前账号类型
}
// userTasksColumns holds the columns for the table user_tasks.
@ -52,6 +53,7 @@ var userTasksColumns = UserTasksColumns{
GameId: "game_id",
TaskType: "task_type",
UserTimes: "user_times",
BindType: "bind_type",
}
// NewUserTasksDao creates and returns a new DAO object for table data access.