From 18f271f7759fcc81c5a68f86b4b941eec181fe18 Mon Sep 17 00:00:00 2001 From: kanade Date: Wed, 31 Aug 2022 11:19:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=A4=84=E7=90=86=E5=95=86?= =?UTF-8?q?=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supplier/goods.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/supplier/goods.go b/supplier/goods.go index fadfe08..15fd1d8 100644 --- a/supplier/goods.go +++ b/supplier/goods.go @@ -153,3 +153,13 @@ func (g *goods) Discard(ctx context.Context, goodsIds []uint) (reply []AdoptItem err = xClient.Call(ctx, "Discard", goodsIds, &reply) return } + +// ReHandle @Title 重新处理商品 +func (g *goods) ReHandle(ctx context.Context, skuId uint) error { + reply := 0 + xClient, err := client.GetClient(g) + if err != nil { + return err + } + return xClient.Call(ctx, "ReHandle", skuId, &reply) +}