Commit a77d9f3f by mushishixian

Merge branch 'dev' of http://119.23.72.7/q578953158/go_sku_server into dev

parents f05fb3d6 2d79a180
...@@ -12,7 +12,7 @@ type LadderPriceRequest struct { ...@@ -12,7 +12,7 @@ type LadderPriceRequest struct {
GoodsId string `json:"goods_id" form:"goods_id" binding:"required" required_errcode:"104004"` GoodsId string `json:"goods_id" form:"goods_id" binding:"required" required_errcode:"104004"`
Num int64 `json:"num" form:"num" binding:"required" required_errcode:"104005"` Num int64 `json:"num" form:"num" binding:"required" required_errcode:"104005"`
Currency int `json:"currency" form:"currency" binding:"required" required_errcode:"104006"` Currency int `json:"currency" form:"currency" binding:"required" required_errcode:"104006"`//币种 1人民币 2美元
Costly int `json:"costly" form:"costly" `//暂时不知道是什么意思 Costly int `json:"costly" form:"costly" `//暂时不知道是什么意思
} }
......
...@@ -68,7 +68,7 @@ func (LP *LadderPriceService) GetPriceInfoByNum(ladderPriceRequest model.LadderP ...@@ -68,7 +68,7 @@ func (LP *LadderPriceService) GetPriceInfoByNum(ladderPriceRequest model.LadderP
return res,e.NewApiError("json.Unmarshal ladder_price 报错"+err1.Error()) return res,e.NewApiError("json.Unmarshal ladder_price 报错"+err1.Error())
} }
res["ladder_price"]=ladder res["ladder_price"]=ladder
res["goods_info"]=goodsInfo res["goods_info"]=goodsInfo[ladderPriceRequest.GoodsId]
res["num"]=num res["num"]=num
return res,nil return res,nil
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment