From fdf5152bd25412109066d6f52c7fd477e7e8b59d Mon Sep 17 00:00:00 2001 From: denghui <1016848185@qq.com> Date: Thu, 5 Jun 2025 11:47:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=AD=97=E6=AE=B5=E7=9A=84?= =?UTF-8?q?=E8=A3=85=E5=A1=AB=E4=BB=8E=201=20=E5=BC=80=E5=A7=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/dao/internal/merchants.go | 2 +- internal/dao/internal/user_task_records.go | 2 +- internal/model/do/merchants.go | 2 +- internal/model/do/user_task_records.go | 2 +- internal/model/entity/merchants.go | 2 +- internal/model/entity/user_task_records.go | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/internal/dao/internal/merchants.go b/internal/dao/internal/merchants.go index 4b47491..76bbac8 100644 --- a/internal/dao/internal/merchants.go +++ b/internal/dao/internal/merchants.go @@ -36,7 +36,7 @@ type MerchantsColumns struct { ApplicationReason string // 申请理由 CreatedBy string // 创建人ID CreatedByType string // 创建人类型:1=系统管理员,2=商户注册 - AuditStatus string // 审核状态:0=待审核,1=审核通过,2=审核拒绝 + AuditStatus string // 审核状态:1=待审核,2=审核通过,3=审核拒绝 AuditBy string // 审核人ID AuditAt string // 审核时间 AuditRemark string // 审核备注 diff --git a/internal/dao/internal/user_task_records.go b/internal/dao/internal/user_task_records.go index 56fd6fd..36cd480 100644 --- a/internal/dao/internal/user_task_records.go +++ b/internal/dao/internal/user_task_records.go @@ -23,7 +23,7 @@ type UserTaskRecordsColumns struct { Id string // 任务记录ID UserId string // 用户ID TaskId string // 任务ID - Status string // 任务状态:0=未开始,1=进行中,2=已完成,3=已领取奖励 + Status string // 任务状态:1=未开始,2=进行中,3=已完成,4=已领取奖励 Progress string // 任务进度 FinishedAt string // 完成时间 RewardReceivedAt string // 领取奖励时间 diff --git a/internal/model/do/merchants.go b/internal/model/do/merchants.go index a444cd2..4c8d116 100644 --- a/internal/model/do/merchants.go +++ b/internal/model/do/merchants.go @@ -28,7 +28,7 @@ type Merchants struct { ApplicationReason interface{} // 申请理由 CreatedBy interface{} // 创建人ID CreatedByType interface{} // 创建人类型:1=系统管理员,2=商户注册 - AuditStatus interface{} // 审核状态:0=待审核,1=审核通过,2=审核拒绝 + AuditStatus interface{} // 审核状态:1=待审核,2=审核通过,3=审核拒绝 AuditBy interface{} // 审核人ID AuditAt *gtime.Time // 审核时间 AuditRemark interface{} // 审核备注 diff --git a/internal/model/do/user_task_records.go b/internal/model/do/user_task_records.go index 68df4b4..f5ec6f3 100644 --- a/internal/model/do/user_task_records.go +++ b/internal/model/do/user_task_records.go @@ -15,7 +15,7 @@ type UserTaskRecords struct { Id interface{} // 任务记录ID UserId interface{} // 用户ID TaskId interface{} // 任务ID - Status interface{} // 任务状态:0=未开始,1=进行中,2=已完成,3=已领取奖励 + Status interface{} // 任务状态:1=未开始,2=进行中,3=已完成,4=已领取奖励 Progress interface{} // 任务进度 FinishedAt *gtime.Time // 完成时间 RewardReceivedAt *gtime.Time // 领取奖励时间 diff --git a/internal/model/entity/merchants.go b/internal/model/entity/merchants.go index 7c9dafd..8c2b58e 100644 --- a/internal/model/entity/merchants.go +++ b/internal/model/entity/merchants.go @@ -26,7 +26,7 @@ type Merchants struct { ApplicationReason string `json:"applicationReason" orm:"application_reason" description:"申请理由"` // 申请理由 CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建人ID"` // 创建人ID CreatedByType int `json:"createdByType" orm:"created_by_type" description:"创建人类型:1=系统管理员,2=商户注册"` // 创建人类型:1=系统管理员,2=商户注册 - AuditStatus int `json:"auditStatus" orm:"audit_status" description:"审核状态:0=待审核,1=审核通过,2=审核拒绝"` // 审核状态:0=待审核,1=审核通过,2=审核拒绝 + AuditStatus int `json:"auditStatus" orm:"audit_status" description:"审核状态:1=待审核,2=审核通过,3=审核拒绝"` // 审核状态:1=待审核,2=审核通过,3=审核拒绝 AuditBy int64 `json:"auditBy" orm:"audit_by" description:"审核人ID"` // 审核人ID AuditAt *gtime.Time `json:"auditAt" orm:"audit_at" description:"审核时间"` // 审核时间 AuditRemark string `json:"auditRemark" orm:"audit_remark" description:"审核备注"` // 审核备注 diff --git a/internal/model/entity/user_task_records.go b/internal/model/entity/user_task_records.go index c032804..22d33d7 100644 --- a/internal/model/entity/user_task_records.go +++ b/internal/model/entity/user_task_records.go @@ -13,7 +13,7 @@ type UserTaskRecords struct { Id int64 `json:"id" orm:"id" description:"任务记录ID"` // 任务记录ID UserId int64 `json:"userId" orm:"user_id" description:"用户ID"` // 用户ID TaskId int64 `json:"taskId" orm:"task_id" description:"任务ID"` // 任务ID - Status int `json:"status" orm:"status" description:"任务状态:0=未开始,1=进行中,2=已完成,3=已领取奖励"` // 任务状态:0=未开始,1=进行中,2=已完成,3=已领取奖励 + Status int `json:"status" orm:"status" description:"任务状态:1=未开始,2=进行中,3=已完成,4=已领取奖励"` // 任务状态:1=未开始,2=进行中,3=已完成,4=已领取奖励 Progress int `json:"progress" orm:"progress" description:"任务进度"` // 任务进度 FinishedAt *gtime.Time `json:"finishedAt" orm:"finished_at" description:"完成时间"` // 完成时间 RewardReceivedAt *gtime.Time `json:"rewardReceivedAt" orm:"reward_received_at" description:"领取奖励时间"` // 领取奖励时间