|
|
|
@ -19,7 +19,6 @@ type GoodsSearch struct {
|
|
|
|
|
Name string // 商品名称
|
|
|
|
|
CategoryId uint64 // 类目id
|
|
|
|
|
BrandName string // 品牌名
|
|
|
|
|
SupplierType uint // 供应商类型
|
|
|
|
|
}
|
|
|
|
|
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)
|
|
|
|
|