用户任务记录新增字段记录领取任务账号 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

@ -26,4 +26,5 @@ type UserTasks struct {
GameId interface{} // 游戏 id
TaskType interface{} // 1: 每日任务 3: 周期任务
UserTimes interface{} // 用户完成次数
BindType interface{} // 当前账号类型
}

View File

@ -24,4 +24,5 @@ type UserTasks struct {
GameId int64 `json:"gameId" orm:"game_id" description:"游戏 id"` // 游戏 id
TaskType int64 `json:"taskType" orm:"task_type" description:"1: 每日任务 3: 周期任务"` // 1: 每日任务 3: 周期任务
UserTimes int64 `json:"userTimes" orm:"user_times" description:"用户完成次数"` // 用户完成次数
BindType int `json:"bindType" orm:"bind_type" description:"当前账号类型"` // 当前账号类型
}

View File

@ -125,6 +125,7 @@ type GetTaskIn struct {
GameId int `json:"gid"`
TaskType int `json:"taskType"`
UserTimes int `json:"userTimes"`
BindType int `json:"bindType"`
}
type GetTaskOut struct {
@ -140,6 +141,7 @@ type UserTaskRecordsListIn struct {
RewardTypeId int
TimeType int
GameId int
BindType int
}
type UserTaskRecordsListOut struct {