aa
This commit is contained in:
@@ -123,6 +123,9 @@ func result2Orders(msg *jdshopapi.CallBackResult) (order *model.GoodsOrder, err
|
|||||||
OrderSeq: 0,
|
OrderSeq: 0,
|
||||||
VendorOrgCode: msg.VendorOrgCode,
|
VendorOrgCode: msg.VendorOrgCode,
|
||||||
}
|
}
|
||||||
|
if utils.Str2Float64(msg.BalanceUsed) != 0 {
|
||||||
|
order.ActualPayPrice += jxutils.StandardPrice2Int(utils.Str2Float64(msg.BalanceUsed))
|
||||||
|
}
|
||||||
if len(msg.ConsigneeInfo.Mobile) != 11 {
|
if len(msg.ConsigneeInfo.Mobile) != 11 {
|
||||||
order.ConsigneeMobile = Decrypt(msg.ConsigneeInfo.Mobile, msg.VendorOrgCode)
|
order.ConsigneeMobile = Decrypt(msg.ConsigneeInfo.Mobile, msg.VendorOrgCode)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user