From 1aad81bac27935d94824edd8989bbca84e2b45a6 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, 7 May 2020 15:06:29 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=96=99=E5=88=86=E5=8C=85=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/partner/purchase/jx/localjx/order.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/partner/purchase/jx/localjx/order.go b/business/partner/purchase/jx/localjx/order.go index 9087cff0d..2e81b01fa 100644 --- a/business/partner/purchase/jx/localjx/order.go +++ b/business/partner/purchase/jx/localjx/order.go @@ -217,7 +217,6 @@ func CreateOrder(ctx *jxcontext.Context, jxOrder *JxOrderInfo, addressID int64, checkMatterDeliveryAddress(deliveryAddress) } if createType != OrderCreateTypePre { - fmt.Println("test1", utils.Format4Output(outJxOrder, false)) if outJxOrder.TotalPrice != jxOrder.TotalPrice { return nil, fmt.Errorf("商品或配送信息发生改变,请重新下单") } @@ -1548,6 +1547,7 @@ func tryToSplitMatterOrder(jxOrder *JxOrderInfo) (outOrders []*JxOrderInfo, frei freightPrice += utils.Float64TwoInt64(500 + math.Ceil((utils.Int2Float64(v.Weight)-3000)/1000)*200) } } + globals.SugarLogger.Debugf("outOrders", utils.Format4Output(outOrders, false)) return outOrders, freightPrice, err }