人脸识别 #13
@@ -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
|
||||
})
|
||||
}
|
||||
@@ -70,11 +70,6 @@
|
||||
"style": {
|
||||
"navigationBarTitleText": "浏览文本"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/certification/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "实名认证"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/handlecase/index",
|
||||
|
||||
@@ -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
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user