|
|
@ -69,3 +69,13 @@ func (i *item) Lists(ctx context.Context, args ArgsSkuItemLists) (reply ReplySku
|
|
|
|
err = xClient.Call(ctx, "Lists", args, &reply)
|
|
|
|
err = xClient.Call(ctx, "Lists", args, &reply)
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// DelAll @Title 删除全部商品
|
|
|
|
|
|
|
|
func (i *item) DelAll(ctx context.Context, skuTypeId uint) error {
|
|
|
|
|
|
|
|
xClient, err := client.GetClient(i)
|
|
|
|
|
|
|
|
if err != nil {
|
|
|
|
|
|
|
|
return err
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
reply := 0
|
|
|
|
|
|
|
|
return xClient.Call(ctx, "DelAll", skuTypeId, &reply)
|
|
|
|
|
|
|
|
}
|
|
|
|