shopprice为0的暂时按saleprice*0.7

This commit is contained in:
苏尹岚
2020-06-28 17:53:16 +08:00
parent cf6cd943c9
commit d0df671091

View File

@@ -381,6 +381,9 @@ func (c *OrderManager) updateOrderSkuOtherInfo(order *model.GoodsOrder, db *dao.
}
} else {
v.ShopPrice = int64(skuBindInfo.Price)
if v.ShopPrice == 0 {
v.ShopPrice = v.SalePrice * 70 / 100
}
}
v.Weight = skuBindInfo.Weight // 以本地信息中的WEIGHT为准
//饿鲜达的订单做一下处理