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