From 1aecdb710a4c5ed034b0a7c170643c87eb7705bf Mon Sep 17 00:00:00 2001 From: sian Date: Thu, 13 Oct 2022 11:24:46 +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 --- supply/sku.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/supply/sku.go b/supply/sku.go index f840f68..5cff011 100644 --- a/supply/sku.go +++ b/supply/sku.go @@ -390,11 +390,11 @@ func (s *sku) FindByIds(ctx context.Context, ids []uint) (reply []ByIdsSkuItem, } // AuthPut @Title 根据sourceSkuId查询供应链是否入库 true=入库 false=没有入库 -func (s *sku) AuthPut(ctx context.Context, sourceSkuId uint) (reply bool, err error) { +func (s *sku) AuthPut(ctx context.Context, sourceSkuIds []uint) (reply bool) { xClient, err := client.GetClient(s) if err != nil { - return false, err + return false } - err = xClient.Call(ctx, "AuthPut", sourceSkuId, &reply) + err = xClient.Call(ctx, "AuthPut", sourceSkuIds, &reply) return }