From fa887acb2004e0239551090fe5285f8b2fa17d61 Mon Sep 17 00:00:00 2001 From: sian Date: Tue, 6 Sep 2022 10:18:50 +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 --- supply/category.go | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/supply/category.go b/supply/category.go index 0795cfc..b16decf 100644 --- a/supply/category.go +++ b/supply/category.go @@ -75,3 +75,14 @@ func (c *category) FindByIds(ctx context.Context, args ArgsCategoryFindByIds) (r err = xClient.Call(ctx, "FindByIds", args, &result) return } + +// GetThreeLevelAll @Title 获取全部三级分类 +func (c *category) GetThreeLevelAll(ctx context.Context) (result []ThirdCategoryItem, err error) { + xClient, err := client.GetClient(c) + if err != nil { + return + } + args := 0 + err = xClient.Call(ctx, "GetThreeLevelAll", args, &result) + return +}