This commit is contained in:
苏尹岚
2021-02-20 16:24:47 +08:00
parent a0de3392bc
commit dc420cdf3a

View File

@@ -123,6 +123,9 @@ func result2Orders(msg *jdshopapi.CallBackResult) (order *model.GoodsOrder, err
OrderSeq: 0,
VendorOrgCode: msg.VendorOrgCode,
}
if utils.Str2Float64(msg.BalanceUsed) != 0 {
order.ActualPayPrice += jxutils.StandardPrice2Int(utils.Str2Float64(msg.BalanceUsed))
}
if len(msg.ConsigneeInfo.Mobile) != 11 {
order.ConsigneeMobile = Decrypt(msg.ConsigneeInfo.Mobile, msg.VendorOrgCode)
} else {