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