Commit 16acc508 by hcy

Merge remote-tracking branch 'origin/master'

parents d8f81426 6506d206
Showing with 3 additions and 0 deletions
......@@ -391,6 +391,9 @@ func (ps *PriceService) GenerateLadderPrice(sku model.LySku) model.LySku {
if costMapIndex <= 0 {
costMapIndex = 0
}
if len(priceRatioList) < costMapIndex {
continue
}
priceRatio := priceRatioList[costMapIndex]
priceCnRatio := priceRatio.Ratio
priceUsRatio := priceRatio.RatioUsd
......
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