Commit 8342afc7 authored by liwei's avatar liwei

修改了验证成功后返回的页面层级

parent 26ebcd88
...@@ -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',
......
...@@ -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'){
//认证未通过 //认证未通过
......
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