aplication_uid
This commit is contained in:
@@ -9,10 +9,14 @@ class Employers extends BaseController
|
|||||||
{
|
{
|
||||||
$data = $this->request->getPost();
|
$data = $this->request->getPost();
|
||||||
|
|
||||||
if ($data['employer_uid'] != '') {
|
if ($data['aplication_uid'] != '') {
|
||||||
|
|
||||||
$checkData = $this->APIcall("POST", "http://10.10.10.48:6332/api/verify/employer", json_encode($data));
|
|
||||||
|
|
||||||
|
$findEmp ="SELECT * from applications WHERE status =2 AND uid = '".$data['aplication_uid']."'";
|
||||||
|
$query = $this->db->query($findEmp);
|
||||||
|
$row = $query->getResult('array');
|
||||||
|
if ($row ){
|
||||||
|
$checkData = $this->APIcall("POST", "http://10.10.10.48:6332/api/verify/employer", json_encode($row));
|
||||||
|
}
|
||||||
|
|
||||||
$udata = [
|
$udata = [
|
||||||
'employer_uid' => $data['employer_uid']
|
'employer_uid' => $data['employer_uid']
|
||||||
|
|||||||
Reference in New Issue
Block a user