Penambahan Update nomor HP pimpinan

This commit is contained in:
Ariyutta
2026-09-28 15:17:03 +07:00
parent bbbe40afb3
commit e4b089b695
2 changed files with 115 additions and 0 deletions
+15
View File
@@ -685,6 +685,21 @@ class SiskaService
return $sks;
}
public function daftarPimpinan(): ?array
{
try {
$response = $this->client->get('api/v2/user/pimpinan');
} catch (Throwable $th) {
Log::error('SISKA: '.$th->getMessage());
return null;
}
$data = json_decode($response->getBody()->getContents(), true);
return $data['data'] ?? null;
}
public function status(string $status)
{
$result = [