This commit is contained in:
邹宗楠
2023-05-19 13:53:03 +08:00
parent 99a1c0b58c
commit a86873d5e2
2 changed files with 1 additions and 1 deletions

View File

@@ -69,6 +69,7 @@ func (c *DeliveryHandler) CancelWaybill(bill *model.Waybill, cancelReasonID int,
}
parameter.PartnerOrderCode = bill.VendorOrderID
if err = api.FnAPI.CancelOrder(parameter); err != nil {
globals.SugarLogger.Debugf("============err := %v ", err)
if strings.Contains(err.Error(), "运单暂未生成") {
err = nil
}