增加类目筛选

finance
黄伟 2 years ago
parent 0b17d5cdc2
commit f1e41be3fa

@ -43,3 +43,10 @@ func (c *category) Edit(ctx context.Context, args ArgsCategoryEdit) error {
reply := 0 reply := 0
return client.GetClient(c).Call(ctx, "Edit", args, &reply) return client.GetClient(c).Call(ctx, "Edit", args, &reply)
} }
// Select @Title 类目筛选
func (c *category) Select(ctx context.Context) (reply []CategoryItem, err error) {
args := 0
err = client.GetClient(c).Call(ctx, "Select", args, &reply)
return
}

Loading…
Cancel
Save