修改接口问题
This commit is contained in:
@@ -452,7 +452,7 @@ export default {
|
||||
async remoteGetPrizeIndex() {
|
||||
this.result = '';
|
||||
console.warn('###当前处于模拟的请求接口,并返回了中奖信息###');
|
||||
const res = await this.$Request.getT('app/discSpinning/draw', { source: this.source });
|
||||
const res = await this.$Request.getT('/app/discSpinning/draw', { source: this.source });
|
||||
this.freeNum--;
|
||||
// this.getCount()
|
||||
console.log(res);
|
||||
|
||||
@@ -439,7 +439,7 @@
|
||||
async remoteGetPrizeIndex() {
|
||||
this.result=''
|
||||
console.warn('###当前处于模拟的请求接口,并返回了中奖信息###')
|
||||
const res = await this.$Request.getT('app/discSpinning/draw',{source:this.source})
|
||||
const res = await this.$Request.getT('/app/discSpinning/draw',{source:this.source})
|
||||
this.freeNum--
|
||||
// this.getCount()
|
||||
console.log(res);
|
||||
|
||||
@@ -41,11 +41,11 @@
|
||||
}
|
||||
},
|
||||
onLoad: function(e) {
|
||||
console.log(e)
|
||||
console.log(e,'debug')
|
||||
if (e.moneyType) {
|
||||
this.moneyType = e.moneyType
|
||||
uni.setNavigationBarTitle({
|
||||
title: e.moneyType === 1 ? '红包明细' : '金币明细'
|
||||
title: e.moneyType == 1 ? '红包明细' : '金币明细'
|
||||
});
|
||||
}
|
||||
if (e.viewType) {
|
||||
|
||||
Reference in New Issue
Block a user