修改PC任务领取

This commit is contained in:
chy
2025-07-08 11:23:36 +08:00
parent 8490579dad
commit 1a5cc50881
31 changed files with 399 additions and 250 deletions

View File

@ -25,4 +25,5 @@ type UserTasks struct {
TaskName interface{} // 任务名称
GameId interface{} // 游戏 id
TaskType interface{} // 1: 每日任务 3: 周期任务
UserTimes interface{} // 用户完成次数
}

View File

@ -28,6 +28,4 @@ type Users struct {
DeletedAt *gtime.Time // 软删除时间
RoleId interface{} // 角色ID
LastLoginStoreId interface{} // 上次登录门店ID
Quan8Uuid interface{} // 8圈使用的 uuid
XyUserId interface{} // 系统唯一用户ID
}

View File

@ -23,4 +23,5 @@ type UserTasks struct {
TaskName string `json:"taskName" orm:"task_name" description:"任务名称"` // 任务名称
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:"用户完成次数"` // 用户完成次数
}

View File

@ -26,6 +26,4 @@ type Users struct {
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"软删除时间"` // 软删除时间
RoleId int64 `json:"roleId" orm:"role_id" description:"角色ID"` // 角色ID
LastLoginStoreId int64 `json:"lastLoginStoreId" orm:"last_login_store_id" description:"上次登录门店ID"` // 上次登录门店ID
Quan8Uuid string `json:"quan8Uuid" orm:"quan8_uuid" description:"8圈使用的 uuid"` // 8圈使用的 uuid
XyUserId string `json:"xyUserId" orm:"xy_user_id" description:"系统唯一用户ID"` // 系统唯一用户ID
}

View File

@ -62,6 +62,7 @@ type UserTaskRecord struct {
CompletedAt *gtime.Time `json:"completedAt" orm:"completed_at" description:"任务完成时间"` // 任务完成时间
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"` // 创建时间
// Store Store `json:"store" orm:"with:id=store_id"`
UserTimes int64 `json:"userTimes" orm:"user_times" description:"用户完成次数"` // 用户完成次数
}
type UserInfo struct {