|
|
@ -101,10 +101,10 @@ |
|
|
}).then(res => { |
|
|
}).then(res => { |
|
|
uni.hideLoading(); |
|
|
uni.hideLoading(); |
|
|
if(res.data.code == 200){ |
|
|
if(res.data.code == 200){ |
|
|
this.$url('/pages/aboutpay/paystate?payState=1&amount='+ this.amount); |
|
|
|
|
|
|
|
|
this.$url('/pages/aboutpay/paystate?payState=1&amount='+ this.amount, {type: 'redirect'}); |
|
|
}else{ |
|
|
}else{ |
|
|
this.$msg(res.data.message || res.data.data || '支付失败').then(() => { |
|
|
this.$msg(res.data.message || res.data.data || '支付失败').then(() => { |
|
|
this.$url('/pages/aboutpay/paystate?payState=0'); |
|
|
|
|
|
|
|
|
this.$url('/pages/aboutpay/paystate?payState=0', {type: 'redirect'}); |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
}).catch(err => uni.hideLoading()) |
|
|
}).catch(err => uni.hideLoading()) |
|
|
|