From 6508b9e29c1a0873f3cccd6b8675a7960d698775 Mon Sep 17 00:00:00 2001 From: sian Date: Fri, 22 Jul 2022 11:53:24 +0800 Subject: [PATCH] bug --- supply/sku.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/supply/sku.go b/supply/sku.go index 6a3810d..8b95df8 100644 --- a/supply/sku.go +++ b/supply/sku.go @@ -136,9 +136,9 @@ type SkuItem struct { } // Lists @Title ๅ•†ๅ“ๅˆ—่กจ -func (s *sku) Lists(ctx context.Context, args ArgsSkuLists) error { - reply := 0 - return client.GetClient(s).Call(ctx, "Lists", args, &reply) +func (s *sku) Lists(ctx context.Context, args ArgsSkuLists) (reply ReplySkuList, err error) { + err = client.GetClient(s).Call(ctx, "Lists", args, &reply) + return } type ArgsSkuOnShelves struct {