From 8c0994872da16493095dcd04d64f1971c8b20d16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Wed, 9 Mar 2022 16:29:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BE=8E=E5=9B=A2=E8=AE=A2?= =?UTF-8?q?=E5=8D=95id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/partner/delivery/mtps/waybill.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/partner/delivery/mtps/waybill.go b/business/partner/delivery/mtps/waybill.go index 71db52f88..14318c90d 100644 --- a/business/partner/delivery/mtps/waybill.go +++ b/business/partner/delivery/mtps/waybill.go @@ -339,7 +339,7 @@ func (c *DeliveryHandler) CancelWaybill(bill *model.Waybill, cancelReasonID int, if cancelReason == "" { cancelReason = "顾客主动取消" } - _, err = api.MtpsAPI.CancelOrder(c.getDeliveryID(order), bill.VendorOrderID, cancelReasonID, cancelReason) + _, err = api.MtpsAPI.CancelOrder(c.getDeliveryID(order), bill.VendorWaybillID, cancelReasonID, cancelReason) return err }