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