From 27438903897f09b911db8fd8f9770e42b4a22a19 Mon Sep 17 00:00:00 2001
From: zhouhao <787329763@qq.com>
Date: Sat, 08 Jan 2022 10:40:37 +0800
Subject: [PATCH] 验证完
---
src/api/index.js | 2 +-
src/views/main/addBankcard.vue | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/api/index.js b/src/api/index.js
index 97a03ac..ef4a6c9 100644
--- a/src/api/index.js
+++ b/src/api/index.js
@@ -44,7 +44,7 @@
},
//发送授权验证码
sendVerifyCode(data) {
- return $http.post('/signContract/sendVerifyCode', data);
+ return $http.post('/inside/getMessageCode', data);
},
//校验授权码
checkVerifyCode(data) {
diff --git a/src/views/main/addBankcard.vue b/src/views/main/addBankcard.vue
index 65154a0..003ef83 100644
--- a/src/views/main/addBankcard.vue
+++ b/src/views/main/addBankcard.vue
@@ -202,7 +202,7 @@
} else { //生产
objUrl = `${window.location.origin}/comn_business/#/main/queryres?bizId=${this.bizId}&bizType=${this.bizType}`
}
- const objForm = { bizId: this.bizId, bizType: this.bizType, callbackUrl: objUrl }
+ const objForm = { bizId: this.bizId, bizType: this.bizType, callbackUrl: objUrl,verCode:dataForm.verCode }
this.$api.getFaceUrl(objForm).then(res => {
window.location.href = res.body.faceUrl
})
@@ -251,8 +251,8 @@
getVerificationCode: function () {
// 向服务器获取验证码
- this.$api.bankCardAuthMsg({ ...this.dataForm, orderId: this.orderId }).then(res => {
- this.agreementextw = repstrw(this.dataObj.userName, this.dataObj.idNo, this.dataForm.bankCardMblNo, this.bankName, this.dataForm.bankCardNo);
+ this.$api.sendVerifyCode({bizId: this.bizId, bizType: this.bizType}).then(res => {
+ // this.agreementextw = repstrw(this.dataObj.userName, this.dataObj.idNo, this.dataForm.bankCardMblNo, this.bankName, this.dataForm.bankCardNo);
this.$notify_success('验证码发送成功!')
this.setTime()
})
--
Gitblit v1.8.0