diff --git a/customer/service/audit.go b/customer/service/audit.go index 6400b25..db1bbdb 100644 --- a/customer/service/audit.go +++ b/customer/service/audit.go @@ -28,17 +28,17 @@ type ArgsAuditLists struct { Page bean.Page // 分页 } type AuditItem struct { - Id uint `json:"id"` - ServiceId uint `json:"serviceId"` - UserId uint `json:"userId"` - UserName string `json:"userName"` - ServiceName string `json:"serviceName"` - ApplyUserId uint `json:"applyUserId"` - ApplyUserName string `json:"applyUserName"` - ApplyAt int64 `json:"applyAt"` - AuditStatus uint `json:"auditStatus"` - AuditUserId uint `json:"auditUserId"` - AuditAt int64 `json:"auditAt"` + Id uint `json:"id"` + ServiceId uint `json:"serviceId"` + UserId uint `json:"userId"` + UserName string `json:"userName"` + ServiceName string `json:"serviceName"` + ApplyUserId uint `json:"applyUserId"` + ApplyType uint `json:"ApplyType"` + ApplyAt int64 `json:"applyAt"` + AuditStatus uint `json:"auditStatus"` + AuditUserId uint `json:"auditUserId"` + AuditAt int64 `json:"auditAt"` } type ReplyAuditLists struct { Lists []AuditItem `json:"lists"` diff --git a/customer/user/deposit.go b/customer/user/deposit.go index 6f6419f..0817029 100644 --- a/customer/user/deposit.go +++ b/customer/user/deposit.go @@ -10,8 +10,8 @@ type deposit struct { } type applyType uint // 申请人类型 const ( - ApplyTypeCustomer = 1 // 客户 - ApplyTypePlatform = 2 // 平台 + ApplyTypePlatform = 1 // 平台 + ApplyTypeCustomer = 2 // 客户 DepositAuditStatusWait = 1 // 待审核 DepositAuditStatusAdopt = 2 // 审核通过