a
This commit is contained in:
parent
a3d1f5647e
commit
269809b635
|
|
@ -865,18 +865,14 @@
|
||||||
}),
|
}),
|
||||||
// dataType: 'json',
|
// dataType: 'json',
|
||||||
success: function(data) {
|
success: function(data) {
|
||||||
alert(data);
|
|
||||||
/*
|
|
||||||
if (data.success && data.match) {
|
if (data.success && data.match) {
|
||||||
showSuccess(data);
|
showSuccess(data);
|
||||||
} else {
|
} else {
|
||||||
showFailure(data);
|
showFailure(data);
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
},
|
},
|
||||||
error: function(xhr, status, error) {
|
error: function(xhr, status, error) {
|
||||||
alert(error);
|
showError('Erreur lors de la vérification Ajax : ' + error);
|
||||||
// showError('Erreur lors de la vérification Ajax : ' + error);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -83,11 +83,6 @@ class FacialVerificationAPI {
|
||||||
|
|
||||||
if (empty($result['FaceMatches'])) {
|
if (empty($result['FaceMatches'])) {
|
||||||
|
|
||||||
$v_msg = t('face_not_match', $lang, $translations);
|
|
||||||
|
|
||||||
var_dump($v_msg);
|
|
||||||
exit;
|
|
||||||
|
|
||||||
$this->assure_api->resultat_traitement_face($_SESSION['numeroBeneficiaire'], '0', "Les faces ne correspondent pas! / The faces do not match!");
|
$this->assure_api->resultat_traitement_face($_SESSION['numeroBeneficiaire'], '0', "Les faces ne correspondent pas! / The faces do not match!");
|
||||||
// $this->assure_api->resultat_traitement_face($_SESSION['numeroBeneficiaire'], '0', $message);
|
// $this->assure_api->resultat_traitement_face($_SESSION['numeroBeneficiaire'], '0', $message);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user