修改接口问题
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user