finance
黄伟 2 years ago
parent 07ee54e06e
commit 4279a73fbe

@ -19,7 +19,6 @@ type GoodsSearch struct {
Name string // 商品名称 Name string // 商品名称
CategoryId uint64 // 类目id CategoryId uint64 // 类目id
BrandName string // 品牌名 BrandName string // 品牌名
SupplierType uint // 供应商类型
} }
type ArgsGoodsList struct { type ArgsGoodsList struct {
Search GoodsSearch Search GoodsSearch
@ -78,6 +77,15 @@ type ArgsGoodsInfo struct {
SkuId uint SkuId uint
} }
type ReplyGoodsInfo struct {
Id uint
Name string
GoodsNum string
BrandId uint
BrandName string
CategoryId uint
}
// Info @Title 商品详情 // Info @Title 商品详情
func (g *goods) Info(ctx context.Context, skuId uint) (reply uint, err error) { func (g *goods) Info(ctx context.Context, skuId uint) (reply uint, err error) {
xClient, err := client.GetClient(g) xClient, err := client.GetClient(g)

Loading…
Cancel
Save