You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
924 B
40 lines
924 B
<template>
|
|
<view class="pageBgImg">
|
|
<topNavbar title="实名认证"></topNavbar>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import { GetDetectInfoEnhanced } from '@/config/api.js'
|
|
export default {
|
|
onShow() {
|
|
// alert(1)
|
|
// alert(this.$store.state.school.BizToken)
|
|
this.GetDetectInfoEnhancedFn()
|
|
},
|
|
onPullDownRefresh() {
|
|
this.GetDetectInfoEnhancedFn()
|
|
},
|
|
methods: {
|
|
async GetDetectInfoEnhancedFn() {
|
|
// let BizToken = uni.getStorageSync('BizToken')
|
|
// alert(BizToken)
|
|
let obj = {
|
|
ruleId: 1,
|
|
redirectUrl: 'http://192.168.1.44:8002/h5/#/pages/indexEntry/enroll/registInfo/registInfo',
|
|
bizToken: this.$store.state.school.BizToken
|
|
}
|
|
const {data: res} = await GetDetectInfoEnhanced(obj)
|
|
let obj2 = JSON.parse(res)
|
|
|
|
console.log(obj2)
|
|
alert('请求结果来了')
|
|
alert(obj2.Text.name)
|
|
// uni.setStorageSync(obj2)
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
</style>
|