实名认证接口加token参数

This commit is contained in:
2025-09-11 13:05:01 +08:00
parent 56046dc878
commit 8f730c7d04

View File

@ -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)