finance
黄伟 2 years ago
parent 6508b9e29c
commit 0d130f7980

@ -145,14 +145,18 @@ type ArgsSkuOnShelves struct {
SkuIds []uint
}
type ArgsSkuDownShelves struct {
SkuIds []uint
}
// OnShelves @Title 上架
func (s *sku) OnShelves(ctx context.Context, args ArgsSkuLists) error {
func (s *sku) OnShelves(ctx context.Context, args ArgsSkuOnShelves) error {
reply := 0
return client.GetClient(s).Call(ctx, "OnShelves", args, &reply)
}
// DownShelves @Title 下架
func (s *sku) DownShelves(ctx context.Context, args ArgsSkuLists) error {
func (s *sku) DownShelves(ctx context.Context, args ArgsSkuDownShelves) error {
reply := 0
return client.GetClient(s).Call(ctx, "DownShelves", args, &reply)
}

Loading…
Cancel
Save