From 083217cca174350570e436c5ebb99ddaea4eaa47 Mon Sep 17 00:00:00 2001 From: sian Date: Fri, 16 Sep 2022 17:41:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- customer/sku/type.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/customer/sku/type.go b/customer/sku/type.go index d263a88..09835cd 100644 --- a/customer/sku/type.go +++ b/customer/sku/type.go @@ -49,11 +49,12 @@ type TypeItem struct { } // All @Title 全部分类 -func (s *skuType) All(ctx context.Context, id uint) (reply []TypeItem, err error) { +func (s *skuType) All(ctx context.Context) (reply []TypeItem, err error) { xClient, err := client.GetClient(s) if err != nil { return nil, err } - err = xClient.Call(ctx, "All", id, &reply) + args := 0 + err = xClient.Call(ctx, "All", args, &reply) return }