修改接口问题

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

@@ -424,7 +424,7 @@
async remoteGetPrizeIndex() {
this.result = ''
console.warn('###当前处于模拟的请求接口,并返回了中奖信息###')
const res = await this.$Request.getT('app/discSpinning/draw', {
const res = await this.$Request.getT('/app/discSpinning/draw', {
orderId: this.option.orderId || 2145
})
console.log(res);
@@ -476,7 +476,7 @@
orderId,
id
} = _this.result
_this.$Request.postJson('app/discSpinning/receive', _this.result).then(res => {
_this.$Request.postJson('/app/discSpinning/receive', _this.result).then(res => {
_this.result = ''
console.log(res)
if (res.code == 0) {

View File

@@ -53,7 +53,7 @@
orderId,
id
} = this.result
this.$Request.postJson('app/discSpinning/receive', this.result).then(res => {
this.$Request.postJson('/app/discSpinning/receive', this.result).then(res => {
this.result = ''
console.log(res)
if (res.code == 0) {
@@ -80,7 +80,7 @@
orderId,
id
} = this.result
this.$Request.postJson('app/discSpinning/receive', this.result).then(res => {
this.$Request.postJson('/app/discSpinning/receive', this.result).then(res => {
this.result = ''
console.log(res)
if (res.code == 0) {

View File

@@ -57,7 +57,7 @@
orderId,
id
} = this.result
this.$Request.postJson('app/discSpinning/receive', this.result).then(res => {
this.$Request.postJson('/app/discSpinning/receive', this.result).then(res => {
this.result = ''
console.log(res)
if (res.code == 0) {