Add network open wallet at mobile login in data while agent login
This commit is contained in:
parent
b20141fa09
commit
bdb7446c33
|
@ -683,7 +683,7 @@ ag.email AS email,ag.longitude as longitude,ag.latitude AS latitude,ag.active as
|
|||
na.validation_code as validation_code,ag.id as agentId,na.solde AS balance,na.etat AS etat
|
||||
,cg.code_parrain AS code_parrain,cg.code_membre AS code_membre,na.phone as phone,na.transactionNumber as phoneTransaction,
|
||||
ne.id as network_id,ag.date_created as date_created,cg.category as category,
|
||||
ag.salt as salt,ag.encrypted_password as encrypted_password,ne.name as network,ct.name as country
|
||||
ag.salt as salt,ag.encrypted_password as encrypted_password,ne.name as network,ne.open_wallet_at_mobile_login,ct.name as country
|
||||
,ag.number_super as nbre_reseau,ag.number_geoBysuper as nbre_sous_reseau
|
||||
FROM agents ag INNER JOIN networks_agents na ON ag.id=na.agent_id
|
||||
INNER JOIN codeGenerer cg ON cg.id=na.codeGenerer_id INNER JOIN networks as ne ON na.network_id=ne.id INNER JOIN countries ct ON ct.id=ne.country_id WHERE na.phone='$phone' or na.transactionNumber='$phone'");
|
||||
|
@ -709,13 +709,13 @@ ne.id as network_id,ag.date_created as date_created,cg.category as category,
|
|||
}
|
||||
if($row['category']!='geolocated'){
|
||||
$row['nbre_membre']=$this->getNbMemberOf($row['code_membre']);
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
return $row;
|
||||
}
|
||||
|
||||
|
||||
return ['error'=>-3,"error_msg"=>"Mot de passe incorrect","last"=>$row];
|
||||
}
|
||||
}else
|
||||
|
@ -1338,4 +1338,4 @@ ag.adresse,
|
|||
}
|
||||
return [];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue