Commit 0077174c by 杨树贤

活动价格过滤问题

parent eeaa4575
Showing with 6 additions and 6 deletions
......@@ -323,12 +323,12 @@ func (ls *LyService) GetCoefficientAndPrice(sku model.LySku) model.LySku {
sku.AcType = 0
}
//价格与原价一样
if data[key].PriceCn == tempAcPrice && key < 2 {
flag++
if flag >= 2 || (len(ladderPrice) < 2) {
sku.AcType = 0
}
}
//if data[key].PriceCn == tempAcPrice && key < 2 {
// flag++
// if flag >= 2 || (len(ladderPrice) < 2) {
// sku.AcType = 0
// }
//}
}
}
} else {
......
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