人脸识别 #13

Merged
hanchaobo merged 1 commits from hcb into dev 2023-10-09 02:19:16 +00:00
6 changed files with 19 additions and 10 deletions
+9
View File
@@ -64,4 +64,13 @@ export function getEidtoken() {
'url': '/identityAuthentication/selectIdentityAuthenticaEIDtoken',
method: 'post',
})
}
// 发送人脸认证之后的eidtoken
export function sendEidtoken(data) {
return request({
'url': '/identityAuthentication/selectIdentityAuthenticaRespon',
method: 'post',
data: data
})
}
-5
View File
@@ -70,11 +70,6 @@
"style": {
"navigationBarTitleText": "浏览文本"
}
}, {
"path": "pages/certification/index",
"style": {
"navigationBarTitleText": "实名认证"
}
},
{
"path": "pages/handlecase/index",
+8 -2
View File
@@ -95,7 +95,8 @@
startEid
} from '../../mp_ecard_sdk/main.js'
import {
getEidtoken
getEidtoken,
sendEidtoken
} from "../../api/login.js"
export default {
data() {
@@ -173,10 +174,15 @@
console.log('收到核身完成的res:', res);
console.log('核身的token是:', token);
console.log('是否完成核身:', verifyDone);
sendEidtoken({
"eidToken": token
}).then(res => {
that.certificationStatus = '已认证'
})
// flagShow = '已认证'
// console.log(flagShow, "JKJJKJKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKk");
// console.log(this, "PPPPPPPPPPPPPPP");
that.certificationStatus = '已认证'
},
});
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-1
View File
@@ -14,7 +14,6 @@
"pages/mine/about/index",
"pages/common/webview/index",
"pages/common/textview/index",
"pages/certification/index",
"pages/handlecase/index",
"pages/handlecase/component/uploadEvidence",
"mp_ecard_sdk/index/index",