|
|
@ -11,6 +11,9 @@ const (
|
|
|
|
AuditHistoryAuditStatusNone = 1 // 待审核
|
|
|
|
AuditHistoryAuditStatusNone = 1 // 待审核
|
|
|
|
AuditHistoryAuditStatusAdopt = 2 // 审核通过
|
|
|
|
AuditHistoryAuditStatusAdopt = 2 // 审核通过
|
|
|
|
AuditHistoryAuditStatusReject = 3 // 审核驳回
|
|
|
|
AuditHistoryAuditStatusReject = 3 // 审核驳回
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AuditHistoryAuditApplyTypeManage = 1 // 平台业务申请
|
|
|
|
|
|
|
|
AuditHistoryAuditApplyTypeCustomer = 2 // 客户自主申请
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
type audit struct {
|
|
|
|
type audit struct {
|
|
|
@ -82,6 +85,7 @@ func (a *audit) History(ctx context.Context, args ArgsHistory) (reply ReplyHisto
|
|
|
|
|
|
|
|
|
|
|
|
type ArgsAuditApply struct {
|
|
|
|
type ArgsAuditApply struct {
|
|
|
|
ServiceId uint `json:"serviceId"` // 服务id
|
|
|
|
ServiceId uint `json:"serviceId"` // 服务id
|
|
|
|
|
|
|
|
ApplyType uint `json:"applyType"` // 申请类型
|
|
|
|
ApplyUserId uint `json:"applyUserId"` // 申请人id
|
|
|
|
ApplyUserId uint `json:"applyUserId"` // 申请人id
|
|
|
|
CustomerId uint `json:"customerId"` // 客户id
|
|
|
|
CustomerId uint `json:"customerId"` // 客户id
|
|
|
|
ExpirationAt time.Time `json:"expirationAt"` // 到期时间
|
|
|
|
ExpirationAt time.Time `json:"expirationAt"` // 到期时间
|
|
|
@ -101,6 +105,7 @@ func (a *audit) Apply(ctx context.Context, args ArgsAuditApply) error {
|
|
|
|
type ArgsAuditAdopt struct {
|
|
|
|
type ArgsAuditAdopt struct {
|
|
|
|
AuditUserId uint // 审核人id
|
|
|
|
AuditUserId uint // 审核人id
|
|
|
|
UserServiceId uint // 客户服务id
|
|
|
|
UserServiceId uint // 客户服务id
|
|
|
|
|
|
|
|
Expand any `json:"expand"` // 拓展参数
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Adopt @Title 审核通过
|
|
|
|
// Adopt @Title 审核通过
|
|
|
|