Commit 3c75eb32 by mushishixian

商品名称判断

parent 518a3392
Showing with 1 additions and 1 deletions
......@@ -259,7 +259,7 @@ func (ls *LyService) GetCoefficient(sku model.LySku) model.LySku {
}
//存在goods_name的对比吗,为什么,因为系数可以单独针对型号配置,所以要去判断型号
//http://footstone.ichunt.net/web/SavePoolCoefficient?id=1
if brandName != "" && strings.Contains(goodsName, sku.GoodsName) {
if goodsName != "" && strings.Contains(goodsName, sku.GoodsName) {
coefficient = ratioInfo
hasCoefficient = true
break
......
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