From a08b8992bcbd85087c2a9157bc9fc8309a4b34f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Thu, 27 Aug 2020 16:54:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/partner/purchase/jx/localjx/order.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/business/partner/purchase/jx/localjx/order.go b/business/partner/purchase/jx/localjx/order.go index 3fd5e240f..c5bc611f4 100644 --- a/business/partner/purchase/jx/localjx/order.go +++ b/business/partner/purchase/jx/localjx/order.go @@ -262,7 +262,6 @@ func CreateOrder(ctx *jxcontext.Context, jxOrder *JxOrderInfo, addressID int64, callNewOrder(order) } } - fmt.Println("testststststststst", utils.Format4Output(outJxOrder, false)) return outJxOrder, err } @@ -870,11 +869,13 @@ func generateOrder(ctx *jxcontext.Context, jxOrder *JxOrderInfo, addressID int64 if IsDeliverySelf { outJxOrder.FreightPrice = 0 } - outJxOrder.Skus[0].DefendPrice = jxOrder.Skus[0].DefendPrice } if err == nil { outJxOrder.TotalPrice = outJxOrder.OrderPrice + outJxOrder.FreightPrice outJxOrder.ActualPayPrice = outJxOrder.TotalPrice + fmt.Println("testststststststst", utils.Format4Output(outJxOrder, false)) + fmt.Println("tes111111111111111", utils.Format4Output(jxOrder, false)) + outJxOrder.Skus[0].DefendPrice = jxOrder.Skus[0].DefendPrice } else { outJxOrder = nil deliveryAddress = nil