diff --git a/supply/sku.go b/supply/sku.go index 8b95df8..4bddb93 100644 --- a/supply/sku.go +++ b/supply/sku.go @@ -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) }