diff --git a/pages/chasingDrama/chasingDrama.vue b/pages/chasingDrama/chasingDrama.vue index f3be818..75f35c1 100644 --- a/pages/chasingDrama/chasingDrama.vue +++ b/pages/chasingDrama/chasingDrama.vue @@ -169,33 +169,33 @@ import { $cache_chasingDrama} from '@/store/cashe.js' this.isErQd=$cache_chasingDrama.isErQd return } - this.$Request.getT('/app/integral/selectIntegralDay', data).then(res => { - if (res.code == 0) { - if (res.data.nowIntegral) { //判断今天是否签到 - this.day = res.data.nowIntegral.day - this.isQd = true - } - if (res.data.yesterdayIntegral) { //判断昨天是否签到 - if (!this.day) { - this.day = res.data.yesterdayIntegral.day - } - this.isErQd = true - } - if (res.data.nowIntegral == null && res.data.yesterdayIntegral == null) { - this.day = 0 - this.isQd = false - this.isErQd = false - } - $cache_chasingDrama.set('day',this.day) - $cache_chasingDrama.set('isQd',this.isQd) - $cache_chasingDrama.set('isErQd',this.isErQd) - } else { - uni.showToast({ - title: res.msg, - icon: 'none' - }) - } - }) + // this.$Request.getT('/app/integral/selectIntegralDay', data).then(res => { + // if (res.code == 0) { + // if (res.data.nowIntegral) { //判断今天是否签到 + // this.day = res.data.nowIntegral.day + // this.isQd = true + // } + // if (res.data.yesterdayIntegral) { //判断昨天是否签到 + // if (!this.day) { + // this.day = res.data.yesterdayIntegral.day + // } + // this.isErQd = true + // } + // if (res.data.nowIntegral == null && res.data.yesterdayIntegral == null) { + // this.day = 0 + // this.isQd = false + // this.isErQd = false + // } + // $cache_chasingDrama.set('day',this.day) + // $cache_chasingDrama.set('isQd',this.isQd) + // $cache_chasingDrama.set('isErQd',this.isErQd) + // } else { + // uni.showToast({ + // title: res.msg, + // icon: 'none' + // }) + // } + // }) }, //跳转 goNav(url) {