$this->db->select("customer.name AS user_name,customer.phone,customer.email,customer.profile_image AS profile_photo,users.id AS user_id, IF(customer.phone_verified = 0,'false','true') AS is_phone_verified");
$this->db->select("customer.name AS user_name,customer.phone,customer.email,customer.profile_image AS profile_photo,users.id AS user_id, IF(customer.phone_verified = 0,'false','true') AS is_phone_verified");
$this->db->where('users.id',$id);
$this->db->where('users.id',$id);
$this->db->from('users');
$this->db->from('users');
...
@@ -629,6 +644,31 @@ class Webservice_model extends CI_Model {
...
@@ -629,6 +644,31 @@ class Webservice_model extends CI_Model {