Commit a19b90bb authored by destin tati's avatar destin tati

update

parent 34ecf527
......@@ -12,4 +12,8 @@ Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The appli
## More Informations
please modify the ConfigHelper.ts file with the information sent by email.
Please add the various services in the identification.service.ts file, according to the documents you wish to scan.
Please refere to our platform `https://platform.skyidentification.com/#/`
......@@ -3,12 +3,12 @@ import { Observable } from "rxjs"
export class ConfigHelper {
// information sent after creation of applicationId by mail
OCR_url = "***"
OCR_url_status = "***"
LIVENESS_url = "***"
FACE_MATCHING_url = "***"
skyid_fa_sdk_params_url = " ***"
OCR_url = "***";
OCR_url_status = "***";
LIVENESS_url = "***";
FACE_MATCHING_url = "***";
skyid_fa_sdk_params_url = "***";
Recover_Face_Matching_Result_URL = "***";
institution_id = "***";
skyid_fa_sdk_user = "***";
......
......@@ -36,10 +36,10 @@ export class IdentificationService {
form.append("document",myImage);
form.append('institution_id',this.helperSky.institution_id);
form.append('application_id',this.helperSky.skyid_fa_sdk_appId);
form.append('channel_id',"**");
form.append('service_id',"**");
form.append('sub_service_id',"**");
form.append("request_data",'{"doc_type":"**"}');
form.append('channel_id',"02");
form.append('service_id',"01");
form.append('sub_service_id',"005");
form.append("request_data",'{"doc_type":"01"}');
var headers = new HttpHeaders({
Authorization: `Bearer ${bearToken}`,
});
......@@ -53,10 +53,10 @@ export class IdentificationService {
form.append("document_uniqueName",myImage);
form.append('institution_id',this.helperSky.institution_id);
form.append('application_id',this.helperSky.skyid_fa_sdk_appId);
form.append('channel_id',"**");
form.append('service_id',"**");
form.append('sub_service_id',"**");
form.append("request_data",'{"doc_type":"**"}');
form.append('channel_id',"02");
form.append('service_id',"01");
form.append('sub_service_id',"005");
form.append("request_data",'{"doc_type":"01"}');
var headers = new HttpHeaders({
Authorization: `Bearer ${bearToken}`,
});
......
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