修改接口问题

This commit is contained in:
duan
2025-01-02 10:37:35 +08:00
parent a9974eddca
commit 169bc3b4c8
11 changed files with 20 additions and 18 deletions

View File

@@ -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);

View File

@@ -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);

View File

@@ -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) {