mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-24 18:23:10 +08:00
白名单+短信
This commit is contained in:
@@ -362,17 +362,16 @@ export default {
|
||||
if (this.faceAuthCount < 3) {
|
||||
try {
|
||||
// eslint-disable-next-line no-undef
|
||||
// const authRes = await EWebBridge.webCallAppInJs('face_auth', {
|
||||
// businessSource: '2', //业务来源:1-电投,2-入司,3-理赔,4-保全
|
||||
// number: this.agentInfo.idNo, //身份证号码
|
||||
// name: this.agentInfo.name //姓名
|
||||
// })
|
||||
const authRes = await this.fakeFaceAuth(true)
|
||||
const authRes = await EWebBridge.webCallAppInJs('face_auth', {
|
||||
businessSource: '2', //业务来源:1-电投,2-入司,3-理赔,4-保全
|
||||
number: this.agentInfo.idNo, //身份证号码
|
||||
name: this.agentInfo.name //姓名
|
||||
})
|
||||
// const authRes = await this.fakeFaceAuth(true)
|
||||
console.log(authRes)
|
||||
if (authRes.state == '1') {
|
||||
if (JSON.parse(authRes).state == '1') {
|
||||
this.goUrl(code)
|
||||
} else {
|
||||
this.$toast('人脸识别失败')
|
||||
// 人脸验证失败更新faceAuthCount
|
||||
this.faceAuthCount++
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user