Commit 8397b0ee by Jansa Jose

dc

parent 3413ee3a
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
parent::__construct(); parent::__construct();
$this->load->model('Webservice_model'); $this->load->model('Webservice_model');
} }
//User Signup
public function user_signup(){ public function user_signup(){
header('Content-type: application/json'); header('Content-type: application/json');
$post = file_get_contents("php://input"); $post = file_get_contents("php://input");
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
} }
echo json_encode($respArr); exit; echo json_encode($respArr); exit;
} }
//User Login
public function user_login(){ public function user_login(){
header('Content-type: application/json'); header('Content-type: application/json');
$post = file_get_contents("php://input"); $post = file_get_contents("php://input");
...@@ -156,7 +156,7 @@ ...@@ -156,7 +156,7 @@
$respArr = $this->Webservice_model->userLogin($postData); $respArr = $this->Webservice_model->userLogin($postData);
echo json_encode($respArr);exit; echo json_encode($respArr);exit;
} }
//Forgot Password
public function user_forgetpsw(){ public function user_forgetpsw(){
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment