人脸识别
This commit is contained in:
@@ -65,3 +65,12 @@ export function getEidtoken() {
|
|||||||
method: 'post',
|
method: 'post',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 发送人脸认证之后的eidtoken
|
||||||
|
export function sendEidtoken(data) {
|
||||||
|
return request({
|
||||||
|
'url': '/identityAuthentication/selectIdentityAuthenticaRespon',
|
||||||
|
method: 'post',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
@@ -70,11 +70,6 @@
|
|||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "浏览文本"
|
"navigationBarTitleText": "浏览文本"
|
||||||
}
|
}
|
||||||
}, {
|
|
||||||
"path": "pages/certification/index",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "实名认证"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/handlecase/index",
|
"path": "pages/handlecase/index",
|
||||||
|
|||||||
@@ -95,7 +95,8 @@
|
|||||||
startEid
|
startEid
|
||||||
} from '../../mp_ecard_sdk/main.js'
|
} from '../../mp_ecard_sdk/main.js'
|
||||||
import {
|
import {
|
||||||
getEidtoken
|
getEidtoken,
|
||||||
|
sendEidtoken
|
||||||
} from "../../api/login.js"
|
} from "../../api/login.js"
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
@@ -173,10 +174,15 @@
|
|||||||
console.log('收到核身完成的res:', res);
|
console.log('收到核身完成的res:', res);
|
||||||
console.log('核身的token是:', token);
|
console.log('核身的token是:', token);
|
||||||
console.log('是否完成核身:', verifyDone);
|
console.log('是否完成核身:', verifyDone);
|
||||||
|
sendEidtoken({
|
||||||
|
"eidToken": token
|
||||||
|
}).then(res => {
|
||||||
|
that.certificationStatus = '已认证'
|
||||||
|
})
|
||||||
// flagShow = '已认证'
|
// flagShow = '已认证'
|
||||||
// console.log(flagShow, "JKJJKJKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKk");
|
// console.log(flagShow, "JKJJKJKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKk");
|
||||||
// console.log(this, "PPPPPPPPPPPPPPP");
|
// 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/mine/about/index",
|
||||||
"pages/common/webview/index",
|
"pages/common/webview/index",
|
||||||
"pages/common/textview/index",
|
"pages/common/textview/index",
|
||||||
"pages/certification/index",
|
|
||||||
"pages/handlecase/index",
|
"pages/handlecase/index",
|
||||||
"pages/handlecase/component/uploadEvidence",
|
"pages/handlecase/component/uploadEvidence",
|
||||||
"mp_ecard_sdk/index/index",
|
"mp_ecard_sdk/index/index",
|
||||||
|
|||||||
Reference in New Issue
Block a user