实名认证加token参数
This commit is contained in:
@ -154,6 +154,10 @@
|
||||
this.form.sex = idInfo?.sex
|
||||
this.form.identityCardNumber = idInfo?.idNumber
|
||||
},
|
||||
getParam(paramName) {//获取路径参数
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
return urlParams.get(paramName);
|
||||
},
|
||||
async goRealName() {
|
||||
if (!this.form.identityCardContrary) {
|
||||
this.$toast('身份证反面照片未上传')
|
||||
@ -175,7 +179,7 @@
|
||||
})
|
||||
let info = res?.data
|
||||
console.log('info', info)
|
||||
window.location.href=info?.shortLink
|
||||
window.location.href=info?.shortLink+'?token='+this.getParam('token')
|
||||
// window.open(info?.shortLink)
|
||||
/* let env = version=='release' ? 'prod' : 'sml'
|
||||
wx.navigateToMiniProgram({
|
||||
|
||||
Reference in New Issue
Block a user