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

yonghui

上级 e0cb475e
......@@ -46,7 +46,10 @@ type GoodsListRes struct {
DeliveryType int `json:"deliveryType"`
DeliveryAreas string `json:"deliveryAreas"`
SalesStatus int `json:"salesStatus"`
GoodsProposalPrice string `json:"goodsProposalPrice"`
GoodsFreightType string `json:"goodsFreightType"`
GoodsLockPrice string `json:"goods_lock_price"` //临时获取的价格,用于订单操作
GoodsLockStock string `json:"goods_lock_stock"` //临时获取的库存,用于订单操作
GoodsStatus int `json:"goodsStatus"`
} `json:"data"`
}
......@@ -123,13 +126,13 @@ func (s *goods) GoodsQty(ctx context.Context, req *GoodsQtyReq) (res *GoodsQtyRe
return
}
type GoodsQtyQtyAreaReq struct {
type GoodsQtyAreaReq struct {
Type string `json:"type"`
Area string `json:"area"`
GoodsCodes string `json:"goodsCodes"`
}
type GoodsQtyQtyAreaRes struct {
type GoodsQtyAreaRes struct {
Success bool `json:"success"`
Code string `json:"code"`
Message string `json:"message"`
......@@ -143,7 +146,7 @@ type GoodsQtyQtyAreaRes struct {
/**
商品库存接口(地址映射)
*/
func (s *goods) GoodsQtyQtyArea(ctx context.Context, req *GoodsQtyQtyAreaReq) (res *GoodsQtyQtyAreaRes, err error) {
func (s *goods) GoodsQtyQtyArea(ctx context.Context, req *GoodsQtyAreaReq) (res *GoodsQtyAreaRes, err error) {
result, err := post(ctx, "com.csx.inventory-search-area.do", req)
if nil != err {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论