Commit 6990120c by mushishixian

找默认的问题

parent dafca3c5
Showing with 1 additions and 1 deletions
......@@ -422,6 +422,7 @@ func (ls *LyService) GetCoefficientAndPrice(sku model.LySku) model.LySku {
findedRatio = true
break
}
}
//找不到特定的系数,那就去找全局的
if !findedRatio {
priceRatioCache, _ = redis.String(redisCon.Do("GET", "magic_cube_price_rule_channel_default"))
......@@ -435,7 +436,6 @@ func (ls *LyService) GetCoefficientAndPrice(sku model.LySku) model.LySku {
}
priceRatioSort = -1
}
}
sku.PriceRatio = priceRatioList
sku.PriceRatioSort = priceRatioSort
......
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