提交 52ebd604 authored 作者: 屈传平's avatar 屈传平

yh

上级 bd7bbfde
......@@ -54,7 +54,9 @@ type GoodsListRes struct {
} `json:"data"`
}
/**
/*
*
商品列表
*/
func (s *goods) List(ctx context.Context, req *GoodsListReq) (res *GoodsListRes, err error) {
......@@ -81,7 +83,8 @@ type GoodsPriceRes struct {
} `json:"data"`
}
/**
/*
*
商品价格
*/
func (s *goods) Price(ctx context.Context, req *GoodsBaseReq) (res *GoodsPriceRes, err error) {
......@@ -109,11 +112,12 @@ type GoodsQtyRes struct {
Message string `json:"message"`
Data []struct {
GoodsCode string `json:"goodsCode"`
GoodsQty int `json:"goodsQty"`
GoodsQty float64 `json:"goodsQty"`
} `json:"data"`
}
/**
/*
*
商品库存
*/
func (s *goods) GoodsQty(ctx context.Context, req *GoodsQtyReq) (res *GoodsQtyRes, err error) {
......@@ -143,7 +147,8 @@ type GoodsQtyAreaRes struct {
} `json:"data"`
}
/**
/*
*
商品库存接口(地址映射)
*/
func (s *goods) GoodsQtyQtyArea(ctx context.Context, req *GoodsQtyAreaReq) (res *GoodsQtyAreaRes, err error) {
......@@ -167,7 +172,8 @@ type GoodsShelvesRes struct {
} `json:"data"`
}
/**
/*
*
商品上下架
*/
func (s *goods) GoodsShelves(ctx context.Context, req *GoodsBaseReq) (res *GoodsShelvesRes, err error) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论