|
@@ -205,8 +205,13 @@ Page({
|
|
return
|
|
return
|
|
}
|
|
}
|
|
let originFaceInfo = JSON.parse(res.data.originFaceInfo)
|
|
let originFaceInfo = JSON.parse(res.data.originFaceInfo)
|
|
- console.log(originFaceInfo);
|
|
|
|
- if (originFaceInfo.code == '1001' || res.success) {
|
|
|
|
|
|
+ console.log(originFaceInfo.code);
|
|
|
|
+ // 1003关闭,1004超时
|
|
|
|
+ if (originFaceInfo.code == '1003' || originFaceInfo.code == '1004') {
|
|
|
|
+ my.reLaunch({
|
|
|
|
+ url: '/pages/home/index',
|
|
|
|
+ })
|
|
|
|
+ } else {
|
|
// 启用无证登记和刷脸失败跳转手输,跳转输入身份证页面
|
|
// 启用无证登记和刷脸失败跳转手输,跳转输入身份证页面
|
|
if (app.globalData.snDisposition.faceFailHandInput && app.globalData.snDisposition.noIdcardRegister) {
|
|
if (app.globalData.snDisposition.faceFailHandInput && app.globalData.snDisposition.noIdcardRegister) {
|
|
my.reLaunch({
|
|
my.reLaunch({
|
|
@@ -218,10 +223,6 @@ Page({
|
|
url: '/pages/resultPage/index?result=结果页超时&&timer=' + app.globalData.snDisposition.resultPageTimeout,
|
|
url: '/pages/resultPage/index?result=结果页超时&&timer=' + app.globalData.snDisposition.resultPageTimeout,
|
|
})
|
|
})
|
|
}
|
|
}
|
|
- } else {
|
|
|
|
- my.reLaunch({
|
|
|
|
- url: '/pages/home/index',
|
|
|
|
- })
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|