diff --git a/supplier/goods.go b/supplier/goods.go index e2b421c..5d689c5 100644 --- a/supplier/goods.go +++ b/supplier/goods.go @@ -122,3 +122,13 @@ func (g *goods) Info(ctx context.Context, goodsId uint) (reply ReplyGoodsInfo, e err = xClient.Call(ctx, "Info", goodsId, &reply) return } + +// GetImgs @Title 获取商品主图 +func (g *goods) GetImgs(ctx context.Context, goodsId uint) (reply []string, err error) { + xClient, err := client.GetClient(g) + if err != nil { + return + } + err = xClient.Call(ctx, "GetImgs", goodsId, &reply) + return +}