抽奖地址修改
This commit is contained in:
@@ -557,7 +557,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
async getCount() {
|
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) {
|
if (res.code == 0) {
|
||||||
this.freeNum = res.count || 0;
|
this.freeNum = res.count || 0;
|
||||||
this.freeNumDay = res.sum || 0;
|
this.freeNumDay = res.sum || 0;
|
||||||
|
|||||||
@@ -544,7 +544,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
async getCount(){
|
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){
|
if(res.code==0){
|
||||||
this.freeNum=res.count||0
|
this.freeNum=res.count||0
|
||||||
this.freeNumDay=res.sum||0
|
this.freeNumDay=res.sum||0
|
||||||
|
|||||||
@@ -1251,7 +1251,7 @@
|
|||||||
},
|
},
|
||||||
async getCount() {
|
async getCount() {
|
||||||
console.log('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) {
|
if (res.code == 0) {
|
||||||
this.freeNum = res.count || 0
|
this.freeNum = res.count || 0
|
||||||
}
|
}
|
||||||
@@ -1315,7 +1315,7 @@
|
|||||||
this.noBuyVideoIndex = null
|
this.noBuyVideoIndex = null
|
||||||
uni.removeStorageSync('noBuyVideoIndex')
|
uni.removeStorageSync('noBuyVideoIndex')
|
||||||
this.videoContext.stop()
|
this.videoContext.stop()
|
||||||
httpsRequest.getT('app/discSpinning/drawCount').then(res => {
|
httpsRequest.getT('/app/discSpinning/drawCount').then(res => {
|
||||||
console.log('转盘抽奖次数')
|
console.log('转盘抽奖次数')
|
||||||
console.log(res)
|
console.log(res)
|
||||||
if (res.count >= 1) {
|
if (res.count >= 1) {
|
||||||
@@ -1350,7 +1350,7 @@
|
|||||||
if (this.noBuyVideoIndex != null && this.videoList[this
|
if (this.noBuyVideoIndex != null && this.videoList[this
|
||||||
.noBuyVideoIndex].videoUrl) {
|
.noBuyVideoIndex].videoUrl) {
|
||||||
this.videoContext.stop();
|
this.videoContext.stop();
|
||||||
httpsRequest.getT('app/discSpinning/drawCount').then(res => {
|
httpsRequest.getT('/app/discSpinning/drawCount').then(res => {
|
||||||
console.log('转盘抽奖次数')
|
console.log('转盘抽奖次数')
|
||||||
if (res.count >= 1) {
|
if (res.count >= 1) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
|
|||||||
@@ -1772,7 +1772,7 @@ export default {
|
|||||||
console.log(this.videoList);
|
console.log(this.videoList);
|
||||||
if (this.noBuyVideoIndex !== null && this.noBuyVideoIndex !== undefined && this.noBuyVideoIndex !== '') {
|
if (this.noBuyVideoIndex !== null && this.noBuyVideoIndex !== undefined && this.noBuyVideoIndex !== '') {
|
||||||
console.log('获取转盘抽奖次数');
|
console.log('获取转盘抽奖次数');
|
||||||
this.$Request.getT('app/discSpinning/drawCount').then((res) => {
|
this.$Request.getT('/app/discSpinning/drawCount').then((res) => {
|
||||||
console.log('转盘抽奖次数', res.count);
|
console.log('转盘抽奖次数', res.count);
|
||||||
if (res.count >= 1) {
|
if (res.count >= 1) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
|
|||||||
Reference in New Issue
Block a user