Cambio se agregó busqueda por placa la busqueda repuve estatal

This commit is contained in:
Juan Felipe Zapata Moreno 2025-11-29 12:26:10 -06:00
parent 3d6649c504
commit 9ebc3f4167
2 changed files with 12 additions and 2 deletions

View File

@ -450,4 +450,16 @@ private function getOwner(string $niv): array
$datos = $this->padronEstatalService->getVehiculoByNiv($niv);
return $this->padronEstatalService->extraerDatosPropietario($datos);
}
private function getVehicleByPlaca(string $placa): array
{
$datos = $this->padronEstatalService->getVehiculoByPlaca($placa);
return $this->padronEstatalService->extraerDatosVehiculo($datos);
}
private function getOwnerByPlaca(string $placa): array
{
$datos = $this->padronEstatalService->getVehiculoByPlaca($placa);
return $this->padronEstatalService->extraerDatosPropietario($datos);
}
}

View File

@ -33,8 +33,6 @@ public function getVehiculoByFolio(string $folio): array
*/
private function consultarPadron(string $tipo, string $valor): array
{
$tipo = 'niv';
// Construir el Data en formato JSON
$data = json_encode([
'tipo' => $tipo,