From 26a17f1b5f8e95392fffd3883069bc8c49c0d47d Mon Sep 17 00:00:00 2001 From: sian Date: Thu, 20 Oct 2022 15:57:48 +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/goods.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/supplier/goods.go b/supplier/goods.go index e6b7702..b74d9ed 100644 --- a/supplier/goods.go +++ b/supplier/goods.go @@ -177,12 +177,12 @@ type ReplyByIdItem struct { SourceName string `json:"sourceName"` } -// FindByIds @Title 根据商品Ids获取商品信息 -func (g *goods) FindByIds(ctx context.Context, goodsIds []uint) (reply []AdoptItem, err error) { +// FindBySkuIds @Title 根据商品Ids获取商品信息 +func (g *goods) FindBySkuIds(ctx context.Context, goodsIds []uint) (reply []AdoptItem, err error) { xClient, err := client.GetClient(g) if err != nil { return nil, err } - err = xClient.Call(ctx, "FindByIds", goodsIds, &reply) + err = xClient.Call(ctx, "FindBySkuIds", goodsIds, &reply) return }