From f6de576a5e49a1f26f80a260e855c8691349db98 Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Tue, 31 Dec 2024 17:45:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=BD=E5=A5=96=E5=9C=B0=E5=9D=80=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- me/VjgyqAzklr/VjgyqAzklr.vue | 2 +- me/choujiang/choujiang.vue | 2 +- me/detail/detail.nvue | 6 +++--- me/detail/detail.vue | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/me/VjgyqAzklr/VjgyqAzklr.vue b/me/VjgyqAzklr/VjgyqAzklr.vue index 5766d83..1efd714 100644 --- a/me/VjgyqAzklr/VjgyqAzklr.vue +++ b/me/VjgyqAzklr/VjgyqAzklr.vue @@ -557,7 +557,7 @@ export default { } }, async getCount() { - const res = await this.$Request.getT('app/discSpinning/drawCount', { source: this.source }); + const res = await this.$Request.getT('/app/discSpinning/drawCount', { source: this.source }); if (res.code == 0) { this.freeNum = res.count || 0; this.freeNumDay = res.sum || 0; diff --git a/me/choujiang/choujiang.vue b/me/choujiang/choujiang.vue index 7fdbb6b..c18aaa0 100644 --- a/me/choujiang/choujiang.vue +++ b/me/choujiang/choujiang.vue @@ -544,7 +544,7 @@ } }, async getCount(){ - const res=await this.$Request.getT('app/discSpinning/drawCount',{source:this.source}) + const res=await this.$Request.getT('/app/discSpinning/drawCount',{source:this.source}) if(res.code==0){ this.freeNum=res.count||0 this.freeNumDay=res.sum||0 diff --git a/me/detail/detail.nvue b/me/detail/detail.nvue index e358de6..b0585f3 100644 --- a/me/detail/detail.nvue +++ b/me/detail/detail.nvue @@ -1251,7 +1251,7 @@ }, async getCount() { console.log('getCount') - const res = await this.$Request.getT('app/discSpinning/drawCount') + const res = await this.$Request.getT('/app/discSpinning/drawCount') if (res.code == 0) { this.freeNum = res.count || 0 } @@ -1315,7 +1315,7 @@ this.noBuyVideoIndex = null uni.removeStorageSync('noBuyVideoIndex') this.videoContext.stop() - httpsRequest.getT('app/discSpinning/drawCount').then(res => { + httpsRequest.getT('/app/discSpinning/drawCount').then(res => { console.log('转盘抽奖次数') console.log(res) if (res.count >= 1) { @@ -1350,7 +1350,7 @@ if (this.noBuyVideoIndex != null && this.videoList[this .noBuyVideoIndex].videoUrl) { this.videoContext.stop(); - httpsRequest.getT('app/discSpinning/drawCount').then(res => { + httpsRequest.getT('/app/discSpinning/drawCount').then(res => { console.log('转盘抽奖次数') if (res.count >= 1) { uni.navigateTo({ diff --git a/me/detail/detail.vue b/me/detail/detail.vue index 21d263b..27cb2b9 100644 --- a/me/detail/detail.vue +++ b/me/detail/detail.vue @@ -1772,7 +1772,7 @@ export default { console.log(this.videoList); if (this.noBuyVideoIndex !== null && this.noBuyVideoIndex !== undefined && this.noBuyVideoIndex !== '') { console.log('获取转盘抽奖次数'); - this.$Request.getT('app/discSpinning/drawCount').then((res) => { + this.$Request.getT('/app/discSpinning/drawCount').then((res) => { console.log('转盘抽奖次数', res.count); if (res.count >= 1) { uni.navigateTo({