+ 添加GoodsOrder.DistanceFreightMoney, 商户承担的远距离配送费(当前只有京东到家有值)

This commit is contained in:
gazebo
2019-07-25 10:45:45 +08:00
parent 485d402116
commit 89c7ab2d44
2 changed files with 10 additions and 8 deletions

View File

@@ -178,6 +178,7 @@ func (c *PurchaseHandler) Map2Order(orderData map[string]interface{}) (order *mo
OrderCreatedAt: utils.Str2Time(result[statusTimeField].(string)),
OriginalData: string(utils.MustMarshal(result)),
ActualPayPrice: utils.MustInterface2Int64(result["orderBuyerPayableMoney"]),
DistanceFreightMoney: utils.Interface2Int64WithDefault(result["merchantPaymentDistanceFreightMoney"], 0),
}
order.Status = c.getStatusFromVendorStatus(order.VendorStatus)
businessTage := utils.Interface2String(result["businessTag"])