From 4279a73fbef860c9bdf126f3f23c601322962611 Mon Sep 17 00:00:00 2001 From: sian Date: Tue, 30 Aug 2022 14:39:29 +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 | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/supplier/goods.go b/supplier/goods.go index bf199ad..112e509 100644 --- a/supplier/goods.go +++ b/supplier/goods.go @@ -16,10 +16,9 @@ const ( type goods struct { } type GoodsSearch struct { - Name string // 商品名称 - CategoryId uint64 // 类目id - BrandName string // 品牌名 - SupplierType uint // 供应商类型 + Name string // 商品名称 + CategoryId uint64 // 类目id + BrandName string // 品牌名 } type ArgsGoodsList struct { Search GoodsSearch @@ -78,6 +77,15 @@ type ArgsGoodsInfo struct { SkuId uint } +type ReplyGoodsInfo struct { + Id uint + Name string + GoodsNum string + BrandId uint + BrandName string + CategoryId uint +} + // Info @Title 商品详情 func (g *goods) Info(ctx context.Context, skuId uint) (reply uint, err error) { xClient, err := client.GetClient(g)