diff --git a/pages/me/index.vue b/pages/me/index.vue index 9b9e805..30f06dd 100644 --- a/pages/me/index.vue +++ b/pages/me/index.vue @@ -321,7 +321,7 @@ onPullDownRefresh() { $cache_user.clear() this.getMyMoney() - this.getPoints() + // this.getPoints() uni.stopPullDownRefresh() }, onShow() { @@ -338,7 +338,7 @@ this.token = uni.getStorageSync('token') if (this.token) { this.getMyMoney() - this.getPoints() + // this.getPoints() this.$u.api.userinfo().then(res => { if (res.code === 0 && res.data) { uni.setStorageSync('zhiFuBao', res.data.zhiFuBao) @@ -362,17 +362,17 @@ let data = { userId: uni.getStorageSync('userId') } - this.$u.api.userVip(data).then(res => { - if (res.code === 0 && res.data && res.data.isVip === 2) { - this.isVIP = true; - this.endTime = res.data.endTime - uni.setStorageSync('isVIP', true) - } else { - this.isVIP = false; - this.endTime = '' - uni.setStorageSync('isVIP', false) - } - }) + // this.$u.api.userVip(data).then(res => { + // if (res.code === 0 && res.data && res.data.isVip === 2) { + // this.isVIP = true; + // this.endTime = res.data.endTime + // uni.setStorageSync('isVIP', true) + // } else { + // this.isVIP = false; + // this.endTime = '' + // uni.setStorageSync('isVIP', false) + // } + // }) this.isLogin = true this.userName = uni.getStorageSync('userName')