|
|
@ -31,7 +31,11 @@ type ArgsCategoryLists struct {
|
|
|
|
|
|
|
|
|
|
|
|
// Lists @Title 分类列表
|
|
|
|
// Lists @Title 分类列表
|
|
|
|
func (c *category) Lists(ctx context.Context, args ArgsCategoryLists) (result []CategoryItem, err error) {
|
|
|
|
func (c *category) Lists(ctx context.Context, args ArgsCategoryLists) (result []CategoryItem, err error) {
|
|
|
|
err = client.GetClient(c).Call(ctx, "Lists", args, &result)
|
|
|
|
xClient, err := client.GetClient(c)
|
|
|
|
|
|
|
|
if err != nil {
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
err = xClient.Call(ctx, "Lists", args, &result)
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|