调整字段的装填从 1 开始
This commit is contained in:
@ -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 // 审核备注
|
||||
|
||||
@ -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 // 领取奖励时间
|
||||
|
||||
@ -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{} // 审核备注
|
||||
|
||||
@ -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 // 领取奖励时间
|
||||
|
||||
@ -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:"审核备注"` // 审核备注
|
||||
|
||||
@ -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:"领取奖励时间"` // 领取奖励时间
|
||||
|
||||
Reference in New Issue
Block a user