Commit 9fc12c13 by Jansa Jose

Merge branch 'jansa'

parents f053ce8a c26d1ea7
......@@ -43,16 +43,16 @@ class Webservice extends CI_Controller {
$ress = $this->cpf_valid($data['cpf']);
if((isset($ress)) && ($ress == 1)){
//$is_cpf = $this->Webservice_model->is_cpf_exist($data['cpf']);
//if($is_cpf['status'] == 'success'){
/*$is_cpf = $this->Webservice_model->is_cpf_exist($data['cpf']);
if($is_cpf['status'] == 'success'){*/
$res = $this->registration_processing_user($data,$type);
//}else{
//$res = array(
// "status"=> "error",
//// "error"=> "CPF Exist",
/*}else{
$res = array(
"status"=> "error",
"error"=> "CPF Exist",
"message"=> "CPF Already Exist"
//);
// }
);
}*/
}else{
$res = array(
"status"=> "error",
......
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