积分商品展示的部分问题

This commit is contained in:
lemon橪
2021-07-28 09:53:41 +08:00
parent a9db24d1ad
commit 436dd56e54
6 changed files with 39 additions and 13 deletions

View File

@@ -151,6 +151,7 @@
parms.clientType = this.paymentType;
API_Trade.getCashierData(parms).then((res) => {
if(res.data.success){
this.cashierParams = res.data.result;
// #ifdef MP-WEIXIN
@@ -187,6 +188,15 @@
this.walletValue = res.data.result.walletValue;
this.autoCancel =
(res.data.result.autoCancel - new Date().getTime()) / 1000;
}
else if(res.data.code == 32000){
setTimeout(()=>{
uni.redirectTo({
url: `/pages/order/myOrder?status=0`
});
},500)
}
});
},