修改商户审核接口(新增服务到期时间)
This commit is contained in:
@ -16,7 +16,7 @@ type Merchant struct {
|
||||
Address string `json:"address" orm:"address"` // 商户地址
|
||||
Status int `json:"status" orm:"status,default:1"` // 状态:1=正常,2=禁用
|
||||
ExpireAt *gtime.Time `json:"expireAt" orm:"expire_at"` // 服务到期时间
|
||||
ApplicationReason int64 `json:"applicationReason" orm:"application_reason"` // 申请理由
|
||||
ApplicationReason string `json:"applicationReason" orm:"application_reason"` // 申请理由
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by"` // 创建人ID
|
||||
CreatedByType int `json:"createdByType" orm:"created_by_type"` // 创建人类型:1=系统管理员,2=商户注册
|
||||
AuditStatus int `json:"auditStatus" orm:"audit_status,default:0"` // 审核状态:0=待审核,1=审核通过,2=审核拒绝
|
||||
@ -24,6 +24,7 @@ type Merchant struct {
|
||||
AuditAt *gtime.Time `json:"auditAt" orm:"audit_at"` // 审核时间
|
||||
AuditRemark string `json:"auditRemark" orm:"audit_remark"` // 审核备注
|
||||
RejectReason string `json:"rejectReason" orm:"reject_reason"` // 拒绝原因
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at"`
|
||||
}
|
||||
|
||||
// MerchantCreateIn 创建商户请求
|
||||
@ -59,6 +60,7 @@ type MerchantAuditIn struct {
|
||||
AuditStatus int
|
||||
AuditRemark string
|
||||
RejectReason string
|
||||
ExpireAt *gtime.Time
|
||||
}
|
||||
type MerchantAuditOut struct {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user