实名认证接口加token参数
This commit is contained in:
@ -171,12 +171,14 @@
|
||||
this.$toast('身份证正面照片未上传')
|
||||
return
|
||||
}
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
let token = urlParams.get('token');
|
||||
if(this.form.name && this.form.identityCardNumber) {
|
||||
let res = await driverRealName( {
|
||||
phone: this.form.phone,
|
||||
name: this.form.name,
|
||||
idNo: this.form.identityCardNumber,
|
||||
token:this.getParam('token'),
|
||||
token:token
|
||||
})
|
||||
let info = res?.data
|
||||
console.log('info', info)
|
||||
|
||||
Reference in New Issue
Block a user