diff --git a/business/partner/purchase/jdshop/callback.go b/business/partner/purchase/jdshop/callback.go index 82a9d28ee..a590d6ecf 100644 --- a/business/partner/purchase/jdshop/callback.go +++ b/business/partner/purchase/jdshop/callback.go @@ -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 {