From 62f9938c962cf9c3ff8970f503f1fdd10a148328 Mon Sep 17 00:00:00 2001 From: sian Date: Fri, 29 Jul 2022 13:49:41 +0800 Subject: [PATCH] bug fix --- jd/sku.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jd/sku.go b/jd/sku.go index 3a85cd2..bc34def 100644 --- a/jd/sku.go +++ b/jd/sku.go @@ -148,7 +148,7 @@ type AdoptItem struct { } // Adopt @Title 入库 -func (s *sku) Adopt(ctx context.Context, skuIds []uint) (err error) { - reply := 0 - return client.GetClient(s).Call(ctx, "Adopt", skuIds, &reply) +func (s *sku) Adopt(ctx context.Context, skuIds []uint) (reply []AdoptItem, err error) { + err = client.GetClient(s).Call(ctx, "Adopt", skuIds, &reply) + return }