From ebbd5504b3727896863dbcef1665f7e1a9d33dc9 Mon Sep 17 00:00:00 2001 From: sian Date: Tue, 20 Dec 2022 15:29:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supplier/batch/goods.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/supplier/batch/goods.go b/supplier/batch/goods.go index febf014..9c38df0 100644 --- a/supplier/batch/goods.go +++ b/supplier/batch/goods.go @@ -198,3 +198,17 @@ func (g *goods) FindBySkuIds(ctx context.Context, skuIds []uint) (reply []ReplyB err = xClient.Call(ctx, "FindBySkuIds", skuIds, &reply) return } + +type ArgsBatchGoodsChange struct { + GoodsIds []uint // 商品id +} + +// Change @Title 商品信息变动 +func (g *goods) Change(ctx context.Context, args ArgsBatchGoodsChange) (err error) { + xClient, err := client.GetClient(g) + if err != nil { + return err + } + reply := 0 + return xClient.Call(ctx, "Change", args, &reply) +}