employer login
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user