From 8cf023a572d340b29734ef40dad0281034176b1a Mon Sep 17 00:00:00 2001 From: sian Date: Thu, 4 Aug 2022 11:42:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supply/category.go | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/supply/category.go b/supply/category.go index eb24c09..0795cfc 100644 --- a/supply/category.go +++ b/supply/category.go @@ -25,20 +25,6 @@ func (c *category) All(ctx context.Context) (result []CategoryItem, err error) { return } -type ArgsCategoryLists struct { - Name string -} - -// Lists @Title 分类列表 -func (c *category) Lists(ctx context.Context, args ArgsCategoryLists) (result []CategoryItem, err error) { - xClient, err := client.GetClient(c) - if err != nil { - return - } - err = xClient.Call(ctx, "Lists", args, &result) - return -} - type ArgsCategoryAdd struct { Name string // 分类名称 ParentId uint // 上级id