shopprice为0的暂时按saleprice*0.7
This commit is contained in:
@@ -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为准
|
||||
//饿鲜达的订单做一下处理
|
||||
|
||||
Reference in New Issue
Block a user