- GoodsOrder添加PmSubsidyMoney

This commit is contained in:
gazebo
2019-06-18 15:02:26 +08:00
parent 41a6e71708
commit 45c14d27f2
4 changed files with 5 additions and 3 deletions

View File

@@ -215,7 +215,7 @@ func (p *PurchaseHandler) Map2Order(orderData map[string]interface{}) (order *mo
}
var baiduRate int64
sku.SalePrice, baiduRate, sku.StoreSubName = getSkuSalePrice(product)
order.TotalShopMoney += baiduRate
order.PmSubsidyMoney += baiduRate
if sku.Weight == 0 {
sku.Weight = jxutils.FormatSkuWeight(specQuality, specUnit) // 订单信息里没有重量,只有名字里尝试找
}