[FIX]【更换人脸识别厂商微信端】打log调试

This commit is contained in:
yuweiqi
2020-05-08 19:02:13 +08:00
parent 15202f4f0d
commit 05918f5375

View File

@@ -1194,7 +1194,15 @@ export default {
getRecognitionUrl() {
return new Promise((resolve, reject) => {
this.idcardData.redirectUrl = `${window.location.href}&faceAuthCountAppnt=${this.faceAuthCount.appnt}&faceAuthCountInsured=${this.faceAuthCount.insured}&faceAuthCountWeixin=${this.faceAuthCount.weixin}`
this.idcardData.redirectUrl =
window.location.href +
'&faceAuthCountAppnt=' +
this.faceAuthCount.appnt +
'&faceAuthCountInsured=' +
this.faceAuthCount.insured +
'&faceAuthCountWeixin=' +
this.faceAuthCount.weixin
localStorage.setItem('9999111', JSON.stringify(this.faceAuthCount.weixin)) //调试专用
let data = { realName: this.idcardData.realName, idno: this.idcardData.idno, redirectUrl: this.idcardData.redirectUrl }
console.log('获取URL请求参数', data)
getRecognitionUrl(data).then(