Cambio se agregó busqueda por placa la busqueda repuve estatal
This commit is contained in:
parent
3d6649c504
commit
9ebc3f4167
@ -450,4 +450,16 @@ private function getOwner(string $niv): array
|
|||||||
$datos = $this->padronEstatalService->getVehiculoByNiv($niv);
|
$datos = $this->padronEstatalService->getVehiculoByNiv($niv);
|
||||||
return $this->padronEstatalService->extraerDatosPropietario($datos);
|
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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -33,8 +33,6 @@ public function getVehiculoByFolio(string $folio): array
|
|||||||
*/
|
*/
|
||||||
private function consultarPadron(string $tipo, string $valor): array
|
private function consultarPadron(string $tipo, string $valor): array
|
||||||
{
|
{
|
||||||
$tipo = 'niv';
|
|
||||||
|
|
||||||
// Construir el Data en formato JSON
|
// Construir el Data en formato JSON
|
||||||
$data = json_encode([
|
$data = json_encode([
|
||||||
'tipo' => $tipo,
|
'tipo' => $tipo,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user