finance
黄伟 2 years ago
parent 47f40dca5d
commit 31e9c35e87

@ -31,7 +31,11 @@ type ArgsCategoryLists struct {
// Lists @Title 分类列表
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
}

Loading…
Cancel
Save