From 40686bbd2902f1e95dbcf527d7fae4f5e03711b3 Mon Sep 17 00:00:00 2001 From: chy <2463300564@qq.com> Date: Sat, 5 Jul 2025 15:36:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9F=A5=E8=AF=A2=E5=B7=B2?= =?UTF-8?q?=E5=AE=8C=E6=88=90=E4=BB=BB=E5=8A=A1=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/model/userTask.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/internal/model/userTask.go b/internal/model/userTask.go index 5f0aab9..d87b969 100644 --- a/internal/model/userTask.go +++ b/internal/model/userTask.go @@ -55,10 +55,11 @@ type UserTaskRecord struct { TaskId string `json:"taskId" orm:"task_id" description:"腾讯任务ID"` // 腾讯任务ID //Status int `json:"status" orm:"status" description:"任务状态:1=进行中,2=已完成中,3=未完成"` // 任务状态:1=进行中(显示领取按钮),2=已完成 //StoreId int64 `json:"storeId" orm:"store_id" description:"门店 id"` // 门店 id - TaskName string `json:"taskName" orm:"task_name" description:"任务名称"` // 任务名称 - GameId int64 `json:"gameId" orm:"game_id" description:"游戏 id"` // 游戏 id - User UserInfo `json:"user,omitempty" orm:"with:id=user_id"` - Game GameInfo `json:"game,omitempty" orm:"with:game_id=game_id"` + TaskName string `json:"taskName" orm:"task_name" description:"任务名称"` // 任务名称 + GameId int64 `json:"gameId" orm:"game_id" description:"游戏 id"` // 游戏 id + User UserInfo `json:"user,omitempty" orm:"with:id=user_id"` + Game GameInfo `json:"game,omitempty" orm:"with:game_id=game_id"` + CompletedAt *gtime.Time `json:"completedAt" orm:"completed_at" description:"任务完成时间"` // 任务完成时间 // Store Store `json:"store" orm:"with:id=store_id"` }