Commit 34f6412c by 杨树贤

原始价格问题

parent 8c5bc7f6
Showing with 1 additions and 2 deletions
...@@ -270,7 +270,6 @@ func (ls *LyService) GetCoefficientAndPrice(sku model.LySku) model.LySku { ...@@ -270,7 +270,6 @@ func (ls *LyService) GetCoefficientAndPrice(sku model.LySku) model.LySku {
var data []model.LadderPrice var data []model.LadderPrice
var originalPrice []model.OriginPrice var originalPrice []model.OriginPrice
sort.Sort(sorter.OriginPriceSorter(sku.OriginalPrice)) sort.Sort(sorter.OriginPriceSorter(sku.OriginalPrice))
//专卖价格获取 //专卖价格获取
if sku.SupplierId == 17 { if sku.SupplierId == 17 {
ladderPrice := sku.LadderPrice ladderPrice := sku.LadderPrice
...@@ -412,7 +411,7 @@ func (ls *LyService) GetCoefficientAndPrice(sku model.LySku) model.LySku { ...@@ -412,7 +411,7 @@ func (ls *LyService) GetCoefficientAndPrice(sku model.LySku) model.LySku {
originalPrice = append(originalPrice, model.OriginPrice{ originalPrice = append(originalPrice, model.OriginPrice{
PriceUs: price.PriceUs, PriceUs: price.PriceUs,
Purchases: price.Purchases, Purchases: price.Purchases,
//PriceCn: price.PriceCn, PriceCn: price.PriceCn,
}) })
if price.Purchases == 0 { if price.Purchases == 0 {
continue continue
......
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