Commit 821da7fd by 杨树贤

美金价

parent afc01282
Showing with 1 additions and 1 deletions
...@@ -956,7 +956,7 @@ func (ps *PriceService) GetComparePrice(sku model.LySku) model.LySku { ...@@ -956,7 +956,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].CostPrice sku.Cost = sku.OriginalPrice[0].CostPrice
sku.CostUs = sku.OriginalPrice[0].CostPriceUs sku.CostUs = sku.OriginalPrice[0].PriceUs
} }
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