Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
V
vuejs-skyidentification
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ProjetDemo
vuejs-skyidentification
Commits
093400e0
Commit
093400e0
authored
Dec 22, 2023
by
dtati
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
second commit
parent
e599aa7e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
src/config/helperConfig.js
src/config/helperConfig.js
+1
-2
src/store/index.js
src/store/index.js
+3
-3
No files found.
src/config/helperConfig.js
View file @
093400e0
export
default
{
// information sent after creation of applicationId by mail
API_url
:
"
***
"
,
OCR_url
:
"
***
"
,
OCR_url_status
:
"
***
"
,
LIVENESS_url
:
"
***
"
,
FACE_MATCHING_url
:
"
***
"
,
SKYID_FA_SDK_PARAMS
_url
:
"
***
"
,
skyid_fa_sdk_params
_url
:
"
***
"
,
Recover_Face_Matching_Result_URL
:
"
***
"
,
institution_id
:
"
***
"
,
...
...
src/store/index.js
View file @
093400e0
...
...
@@ -40,7 +40,7 @@ export default createStore({
formData
.
append
(
"
username
"
,
Helper
.
skyid_fa_sdk_user
);
formData
.
append
(
"
password
"
,
Helper
.
skyid_fa_sdk_password
);
return
new
Promise
((
resolve
,
reject
)
=>
{
axios
.
post
(
Helper
.
API_url
,
formData
,
{
axios
.
post
(
Helper
.
skyid_fa_sdk_params_url
+
"
login
"
,
formData
,
{
headers
:
{
'
Content-Type
'
:
'
multipart/form-data
'
,
}
...
...
@@ -66,7 +66,7 @@ export default createStore({
formData
.
append
(
"
token
"
,
Helper
.
skyid_fa_sdk_token
);
formData
.
append
(
"
application_id
"
,
Helper
.
skyid_fa_sdk_appId
);
return
new
Promise
((
resolve
,
reject
)
=>
{
axios
.
post
(
Helper
.
SKYID_FA_SDK_PARAMS_url
,
formData
,
{
axios
.
post
(
Helper
.
skyid_fa_sdk_params_url
+
"
get_parameters_web_sdk
"
,
formData
,
{
headers
:
{
Authorization
:
`Bearer
${
bearToken
}
`
,
'
Content-Type
'
:
'
multipart/form-data
'
,
...
...
@@ -91,7 +91,7 @@ export default createStore({
const
formData
=
new
FormData
()
formData
.
append
(
"
token
"
,
Helper
.
skyid_fa_sdk_token
);
formData
.
append
(
"
document
"
,
myImage
);
formData
.
append
(
'
institution_id
'
,
"
**
"
);
formData
.
append
(
'
institution_id
'
,
Helper
.
institution_id
);
formData
.
append
(
'
application_id
'
,
Helper
.
skyid_fa_sdk_appId
);
formData
.
append
(
'
channel_id
'
,
"
**
"
);
formData
.
append
(
'
service_id
'
,
"
**
"
);
...
...
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