|
|
|
@ -108,6 +108,16 @@ func (s *skuAudit) Adopt(ctx context.Context, args ArgsSkuAuditAdopt) error {
|
|
|
|
|
return xClient.Call(ctx, "Adopt", args, &reply)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// AdoptAll @Title 全部审核通过
|
|
|
|
|
func (s *skuAudit) AdoptAll(ctx context.Context, auditUserId uint) error {
|
|
|
|
|
reply := 0
|
|
|
|
|
xClient, err := client.GetClient(s)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
return xClient.Call(ctx, "AdoptAll", auditUserId, &reply)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ArgsSkuAuditReject struct {
|
|
|
|
|
AuditUserId uint // 审核人
|
|
|
|
|
AuditIds []uint // 审核单id
|
|
|
|
|