Commit 700776c5 by 杨树贤

修改读取字段

parent 8607112e
Showing with 1 additions and 1 deletions
...@@ -955,7 +955,7 @@ func (ps *PriceService) GetComparePrice(sku model.LySku) model.LySku { ...@@ -955,7 +955,7 @@ func (ps *PriceService) GetComparePrice(sku model.LySku) model.LySku {
// 获取自营成本价 // 获取自营成本价
func (ps *PriceService) GetCostForZiying(sku model.LySku) model.LySku { func (ps *PriceService) GetCostForZiying(sku model.LySku) model.LySku {
if len(sku.OriginalPrice) != 0 { if len(sku.OriginalPrice) != 0 {
sku.Cost = sku.OriginalPrice[0].PriceCn sku.Cost = sku.OriginalPrice[0].CostPrice
} }
return sku return sku
......
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