finance
黄伟 2 years ago
parent 6140a7afac
commit b03604613a

@ -29,14 +29,19 @@ func (i *item) Add(ctx context.Context, args ArgsSkuItemAdd) (reply []ReplySkuIt
return
}
type ArgsSkuItemDel struct {
SkuTypeId uint
SkuIds []uint
}
// Del @Title 删除商品
func (i *item) Del(ctx context.Context, ids []uint) error {
func (i *item) Del(ctx context.Context, args ArgsSkuItemDel) error {
xClient, err := client.GetClient(i)
if err != nil {
return err
}
reply := 0
return xClient.Call(ctx, "Del", ids, &reply)
return xClient.Call(ctx, "Del", args, &reply)
}
type ArgsSkuItemLists struct {

Loading…
Cancel
Save