diff --git a/business/partner/delivery/sfps/waybill.go b/business/partner/delivery/sfps/waybill.go index 9fc8c0ef7..ac16837e7 100644 --- a/business/partner/delivery/sfps/waybill.go +++ b/business/partner/delivery/sfps/waybill.go @@ -512,6 +512,7 @@ func OnWaybillExceptSF(msg *sfps2.RiderException) (retVal *sfps2.CallbackRespons func GetWaybillByStatus(urlIndex string, msg interface{}) *model.Waybill { globals.SugarLogger.Debugf("GetWaybillByStatus msg=%s", utils.Format4Output(msg, false)) waybill := &model.Waybill{} + switch urlIndex { case sfps2.UrlIndexRiderStatus: retVal := msg.(sfps2.RiderStatus)