diff --git a/components/pop-choujiang.vue b/components/pop-choujiang.vue index 394a9d3..ec0bf04 100644 --- a/components/pop-choujiang.vue +++ b/components/pop-choujiang.vue @@ -476,22 +476,22 @@ orderId, id } = _this.result - _this.$Request.postJson('/app/discSpinning/receive', _this.result).then(res => { - _this.result = '' - console.log(res) - if (res.code == 0) { - uni.showToast({ - title: '领取成功', - icon: 'none' - }) - _this.getRedPack() - } else { - uni.showToast({ - title: '领取失败', - icon: 'none' - }) - } - }) + // _this.$Request.postJson('/app/discSpinning/receive', _this.result).then(res => { + // _this.result = '' + // console.log(res) + // if (res.code == 0) { + // uni.showToast({ + // title: '领取成功', + // icon: 'none' + // }) + // _this.getRedPack() + // } else { + // uni.showToast({ + // title: '领取失败', + // icon: 'none' + // }) + // } + // }) }, complete: () => { this.prizeing = false diff --git a/components/pop-ling-qu - 副本.vue b/components/pop-ling-qu - 副本.vue index 82d5564..750cf98 100644 --- a/components/pop-ling-qu - 副本.vue +++ b/components/pop-ling-qu - 副本.vue @@ -53,23 +53,23 @@ orderId, id } = this.result - this.$Request.postJson('/app/discSpinning/receive', this.result).then(res => { - this.result = '' - console.log(res) - if (res.code == 0) { - uni.showToast({ - title: '领取成功', - icon: 'none' - }) - this.$emit('success') - this.close() - } else { - uni.showToast({ - title: '领取失败', - icon: 'none' - }) - } - }) + // this.$Request.postJson('/app/discSpinning/receive', this.result).then(res => { + // this.result = '' + // console.log(res) + // if (res.code == 0) { + // uni.showToast({ + // title: '领取成功', + // icon: 'none' + // }) + // this.$emit('success') + // this.close() + // } else { + // uni.showToast({ + // title: '领取失败', + // icon: 'none' + // }) + // } + // }) }, close() { this.show = false @@ -80,15 +80,15 @@ orderId, id } = this.result - this.$Request.postJson('/app/discSpinning/receive', this.result).then(res => { - this.result = '' - console.log(res) - if (res.code == 0) { - this.$emit('success') - this.close() - } else { - } - }) + // this.$Request.postJson('/app/discSpinning/receive', this.result).then(res => { + // this.result = '' + // console.log(res) + // if (res.code == 0) { + // this.$emit('success') + // this.close() + // } else { + // } + // }) } } } diff --git a/components/pop-ling-qu.vue b/components/pop-ling-qu.vue index e1b143c..dbcee94 100644 --- a/components/pop-ling-qu.vue +++ b/components/pop-ling-qu.vue @@ -57,21 +57,21 @@ orderId, id } = this.result - this.$Request.postJson('/app/discSpinning/receive', this.result).then(res => { - this.result = '' - console.log(res) - if (res.code == 0) { - console.log('抽奖领取成功'); - const key=res.data==0?'isBindAliPay':undefined - this.$emit('close',key) - if(key&&key=='isBindAliPay'){ - uni.navigateTo({ - url:'/me/yaoqing/zhifubao-tixain' - }) - } - } else { - } - }) + // this.$Request.postJson('/app/discSpinning/receive', this.result).then(res => { + // this.result = '' + // console.log(res) + // if (res.code == 0) { + // console.log('抽奖领取成功'); + // const key=res.data==0?'isBindAliPay':undefined + // this.$emit('close',key) + // if(key&&key=='isBindAliPay'){ + // uni.navigateTo({ + // url:'/me/yaoqing/zhifubao-tixain' + // }) + // } + // } else { + // } + // }) } } } diff --git a/me/yaoqing/ymg-yaoqing-tixian.vue b/me/yaoqing/ymg-yaoqing-tixian.vue index 43014cb..be89846 100644 --- a/me/yaoqing/ymg-yaoqing-tixian.vue +++ b/me/yaoqing/ymg-yaoqing-tixian.vue @@ -109,11 +109,11 @@ - {{ error }} - + -->