|
|
@ -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
|
|
|
|
|
|
|
|
}
|
|
|
|