From 1f085fe74c54b6384aef8e919073a2a2e454b4d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Wed, 18 Oct 2023 11:34:22 +0800 Subject: [PATCH] 1 --- business/jxcallback/orderman/waybill.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxcallback/orderman/waybill.go b/business/jxcallback/orderman/waybill.go index 1421046ee..b1c11f057 100644 --- a/business/jxcallback/orderman/waybill.go +++ b/business/jxcallback/orderman/waybill.go @@ -260,10 +260,10 @@ func ComplaintRider(ctx *jxcontext.Context, vendorOrderID string, waybillVendorI if len(wayBillList) != model.YES { return fmt.Errorf("订单所属运单不存在,或运单为分配骑手,无法投诉") } - p := partner.GetDeliveryPlatformFromVendorID(wayBillList[0].WaybillVendorID).Handler if err == nil && len(wayBillList) > 0 { for _, v := range wayBillList { if utils.Int2Str(v.WaybillVendorID) == waybillVendorID { + p := partner.GetDeliveryPlatformFromVendorID(wayBillList[0].WaybillVendorID).Handler err = p.ComplaintRider(v, complaintID, complaintReasonsMap[complaintID]) } }