This commit is contained in:
邹宗楠
2025-02-12 17:16:37 +08:00
parent dce30b03dc
commit 98e77a68cc
4 changed files with 12 additions and 7 deletions

View File

@@ -420,8 +420,6 @@ func (c *DeliveryHandler) CancelWaybill(bill *model.Waybill, cancelReasonID int,
default:
cancelReasonID = dadaapi.ReasonIDOther
}
key, appSecret, sourceID := api.DadaAPI.GetAppId()
globals.SugarLogger.Debugf("------------dada :=key: %s,appSecret :%s,sourceID :%s", key, appSecret, sourceID)
_, err = api.DadaAPI.CancelOrder(bill.VendorOrderID, cancelReasonID, cancelReason)
return err
}