employer login

This commit is contained in:
CHIEFSOFT\ameye
2024-06-17 09:31:47 -04:00
parent 2fecca1834
commit 3b0b1101e3
2 changed files with 20 additions and 9 deletions
+10 -1
View File
@@ -9,13 +9,22 @@ class Employment extends BaseController
public function login() :ResponseInterface
{
$data = $this->request->getPost();
$otp_ready = false;
$verify_uid = '';
$row =[];
if ( $data['application_uid'] !='' && $data['username'] && $data['password']){
$verify_uid = 'ce00b4c9-7a46-4176-aa5a-0f6d83740dbc';
}else{
}
$data = [
'call_return' => '100',
'verify_uid'=>'ce00b4c9-7a46-4176-aa5a-0f6d83740dbc',
'verify_uid'=> $verify_uid,
'dev_status'=>'FAKE_RESULT_NOT_IMPLIMENTED_FOR_REAL',
'otp_ready' => $otp_ready,
'records' => $data
];
return $this->respond($data, 200);