From e83bbc8c5e204e0274735bc060e1faeceedee8ee Mon Sep 17 00:00:00 2001 From: gazebo Date: Tue, 22 Oct 2019 14:26:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=AC=E4=B8=9C=E5=88=B0=E5=AE=B6=E4=B8=AD?= =?UTF-8?q?=EF=BC=8C=E5=B0=86=E6=9B=B4=E6=8D=A2=E9=85=8D=E9=80=81=E5=91=98?= =?UTF-8?q?=E4=B9=9F=E5=BD=93=E6=88=90=E6=8E=A5=E5=8D=95=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/partner/purchase/jd/waybill.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/partner/purchase/jd/waybill.go b/business/partner/purchase/jd/waybill.go index 7065b71fa..36805ff44 100644 --- a/business/partner/purchase/jd/waybill.go +++ b/business/partner/purchase/jd/waybill.go @@ -20,7 +20,7 @@ func (c *PurchaseHandler) onWaybillMsg(msg *jdapi.CallbackDeliveryStatusMsg) (re switch msg.DeliveryStatus { case jdapi.DeliveryStatusWait4Grap: order.Status = model.WaybillStatusNew - case jdapi.DeliveryStatusAccepted: + case jdapi.DeliveryStatusAccepted, jdapi.DeliveryStatusCourierChaged: // 将更换配送员也当成接单消息 // todo 性能问题,暂时取消调用 // if result, err := getAPI("").QuerySingleOrder(msg.OrderID); err == nil { // // 默认配送费=订单应付运费(orderReceivableFreight)