Penambahan Update nomor HP pimpinan
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user