|
|
@@ -201,9 +201,9 @@ export default {
|
|
|
if(!isFace) {
|
|
|
this.$message.info("为了您的资金安全,本次操作需要进行人脸认证。")
|
|
|
await this.callFaceQrcode()
|
|
|
- return
|
|
|
+ return
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
this.dialogShow = true;
|
|
|
let res = await this.$axios.$post("/api/user/send_mobile_auth_code", {
|
|
|
mobile: this.userinfo.mobile,
|
|
|
@@ -232,10 +232,9 @@ export default {
|
|
|
async callFaceQrcode(){
|
|
|
try{
|
|
|
|
|
|
- // let res = await this.$axios.$post("/uapi/user/realName/face");
|
|
|
- // console.log(res);
|
|
|
+ let res = await this.$axios.$post("/uapi/user/realName/face");
|
|
|
|
|
|
- let qrcode = 'http://www.baidu.com'
|
|
|
+ let qrcode = res.data.kezhan_url;
|
|
|
let that = this;
|
|
|
QRCode.toDataURL(
|
|
|
qrcode, {
|