Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust_web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
张伯涛
cust_web
Commits
8342afc7
Commit
8342afc7
authored
Mar 03, 2025
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了验证成功后返回的页面层级
parent
26ebcd88
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
realAuth.html
public/realAuth.html
+1
-1
realAuthDetail.html
public/realAuthDetail.html
+2
-2
No files found.
public/realAuth.html
View file @
8342afc7
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
}
}
console
.
log
(
'JSON.stringify(MetaInfo):'
,
JSON
.
stringify
(
MetaInfo
))
console
.
log
(
'JSON.stringify(MetaInfo):'
,
JSON
.
stringify
(
MetaInfo
))
// 请求认证业务接口获取CertifyUrl
// 请求认证业务接口获取CertifyUrl
fetch
(
'http://192.168.1.
7
:8092/faceVerify/initFaceVerify'
,
{
fetch
(
'http://192.168.1.
8
:8092/faceVerify/initFaceVerify'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
...
public/realAuthDetail.html
View file @
8342afc7
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
certifyId
:
certifyId
certifyId
:
certifyId
}
}
// 携带CertifyId
// 携带CertifyId
fetch
(
'http://192.168.1.
7
:8092/faceVerify/describeFaceVerify'
,
{
fetch
(
'http://192.168.1.
8
:8092/faceVerify/describeFaceVerify'
,
{
method
:
'POST'
,
method
:
'POST'
,
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
'Content-Type'
:
'application/json'
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
//认证通过
//认证通过
wx
.
miniProgram
.
postMessage
({
data
:
'T'
})
wx
.
miniProgram
.
postMessage
({
data
:
'T'
})
wx
.
miniProgram
.
navigateBack
({
wx
.
miniProgram
.
navigateBack
({
delta
:
3
delta
:
2
})
})
}
else
if
(
data
.
data
.
passed
===
'F'
){
}
else
if
(
data
.
data
.
passed
===
'F'
){
//认证未通过
//认证未通过
...
...
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