Commit 3282766d by huangchengyi

更新价格

parent 635b0e33
Showing with 7 additions and 1 deletions
...@@ -250,12 +250,18 @@ func (qs *OptimumService) GetOptimumAttrInfo(ctx *gin.Context) (results model.Ly ...@@ -250,12 +250,18 @@ func (qs *OptimumService) GetOptimumAttrInfo(ctx *gin.Context) (results model.Ly
} }
} }
v.StockStr = common.NumberToHtml(v.Stock)
v.MoqStr = common.NumberToHtml(v.Moq)
v.MpqStr = common.NumberToHtml(v.Mpq)
v.MplStr = common.NumberToHtml(v.Mpl)
MultipleStr := common.NumberToHtml(Multiple)
endArr = append(endArr,model.DullGoodsData{ endArr = append(endArr,model.DullGoodsData{
ApiGoods:v, ApiGoods:v,
GoodsUrl: GoodsUrl, GoodsUrl: GoodsUrl,
BrandUrl: BrandUrl, BrandUrl: BrandUrl,
Attrs: attrs[v.GoodsId], Attrs: attrs[v.GoodsId],
MultipleStr:Multiple, MultipleStr:MultipleStr,
}) })
} }
......
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