Commit bf5f7a25 by Jansa Jose

Merge branch 'master' into 'dev_production'

mobile number availabilty See merge request !14
parents a42c4623 c1e92dd5
......@@ -9,7 +9,8 @@ class Webservice_model extends CI_Model {
/****************************************Mobile API's*************************************/
public function checkMobAvailability($data = array()){
$res = array('status'=>'success', 'message'=>'Mobile Number Available');
$res = array('status'=>'success', 'message'=>'Mobile Number Available','data'=>array('phone'=>$data['phone'],'is_available'=>true));
if(empty($data)){
$res = array('status'=>'error','error'=>'901','message'=>'Something went wrong.');
return $res;
......
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