Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
IPok_Web
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
IPok
IPok_Web
Commits
c26d1ea7
Commit
c26d1ea7
authored
Jul 27, 2018
by
Jansa Jose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
register
parent
35ffd4a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
Webservice.php
admin/application/controllers/Webservice.php
+8
-8
No files found.
admin/application/controllers/Webservice.php
View file @
c26d1ea7
...
@@ -43,16 +43,16 @@ class Webservice extends CI_Controller {
...
@@ -43,16 +43,16 @@ class Webservice extends CI_Controller {
$ress
=
$this
->
cpf_valid
(
$data
[
'cpf'
]);
$ress
=
$this
->
cpf_valid
(
$data
[
'cpf'
]);
if
((
isset
(
$ress
))
&&
(
$ress
==
1
)){
if
((
isset
(
$ress
))
&&
(
$ress
==
1
)){
/
/
$is_cpf = $this->Webservice_model->is_cpf_exist($data['cpf']);
/
*
$is_cpf = $this->Webservice_model->is_cpf_exist($data['cpf']);
//if($is_cpf['status'] == 'success'){
if($is_cpf['status'] == 'success'){*/
$res
=
$this
->
registration_processing_user
(
$data
,
$type
);
$res
=
$this
->
registration_processing_user
(
$data
,
$type
);
/
/
}else{
/
*
}else{
//
$res = array(
$res = array(
//
"status"=> "error",
"status"=> "error",
////
"error"=> "CPF Exist",
"error"=> "CPF Exist",
"message"=> "CPF Already Exist"
"message"=> "CPF Already Exist"
//
);
);
// }
}*/
}
else
{
}
else
{
$res
=
array
(
$res
=
array
(
"status"
=>
"error"
,
"status"
=>
"error"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment