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

@ -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)

Loading…
Cancel
Save