From 1c50cbc2bab82d124316bcc925119bec4e5de14f Mon Sep 17 00:00:00 2001
From: zhouhao <787329763@qq.com>
Date: Thu, 06 Jan 2022 12:32:32 +0800
Subject: [PATCH] 修改人脸识别回调
---
src/views/main/addBankcard.vue | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/views/main/addBankcard.vue b/src/views/main/addBankcard.vue
index fd43e73..3e287db 100644
--- a/src/views/main/addBankcard.vue
+++ b/src/views/main/addBankcard.vue
@@ -180,12 +180,12 @@
if (process.env.NODE_ENV === "development") { //开发环境
objUrl = `https://t.finlean.com/comn_business/#/main/queryres?bizId=${this.bizId}&bizType=${this.bizType}`
} else{ //生产
- objUrl = `${window.location.origin}/#/main/queryres?bizId=${this.bizId}&bizType=${this.bizType}`
+ objUrl = `${window.location.origin}/comn_business/#/main/queryres?bizId=${this.bizId}&bizType=${this.bizType}`
}
- const objForm ={bizId:this.bizId,bizType:this.bizType,callbackUrl:objUrl}
- this.$api.getFaceUrl(objForm).then(res=>{
+ const objForm ={bizId:this.bizId,bizType:this.bizType,callbackUrl:objUrl}
+ this.$api.getFaceUrl(objForm).then(res=>{
window.location.href=res.body.faceUrl
- })
+ })
// this.$refs.credRef.validate().then(() => {
// // 验证通过
// if (this.dataForm.verCode ==undefined || this.dataForm.verCode =='') return this.$notify('请输入验证码')
--
Gitblit v1.8.0