chuangte_bike_newxcx/page_fenbao/renlianzhongzhuan.vue

62 lines
1.4 KiB
Vue
Raw Normal View History

2025-04-01 21:35:30 +08:00
<template>
<view class="pages">
</view>
</template>
<script>
export default {
data() {
return {
https:''
}
},
onLoad(option) {
this.getshuaxin()
},
methods: {
getshuaxin(){
this.$u.get('/app/realName/refreshRealName').then(res => {
if(res.code == 200){
if(res.data.pass == true){
let realNameType = res.data.realNameType
let infoId = res.data.infoId
uni.showModal({
title: '温馨提示',
content: `人脸认证成功`,
showCancel: false,
success: function(res) {
uni.switchTab({
url:'/pages/my'
})
}
})
}else{
uni.showModal({
title: '温馨提示',
content: `人脸认证失败`,
showCancel: false,
success: function(res) {
uni.navigateBack()
}
})
}
}else{
uni.showModal({
title: '温馨提示',
content: `人脸认证失败`,
showCancel: false,
success: function(res) {
uni.navigateBack()
}
})
}
})
}
}
}
</script>
<style lang="scss" scoped>
</style>