diff --git a/alipay.html b/alipay.html
index 11a9095..94e7c36 100644
--- a/alipay.html
+++ b/alipay.html
@@ -92,15 +92,15 @@
},
created() {
//唤起支付宝授权,打开领取
- // this.openId = this.getQueryString(
- // window.location.search,
- // "alipayuserid"
- // );
+ this.openId = this.getQueryString(
+ window.location.search,
+ "alipayuserid"
+ );
let orderNumber = this.getQueryString(
window.location.search,
"orderNumber"
);
- // this.orderNumber=orderNumber;
+ this.orderNumber=orderNumber;
this.getOrderDetail(this.orderNumber);
},
methods: {
@@ -137,13 +137,13 @@
setTimeout(()=>{
this.disabledBtn = false;
},2000)
- // if (res.code == 200) {
- // window.location.href = './advise.html'
- // sessionStorage.setItem('messageTip', '');
- // } else {
- // window.location.href = './advise.html'
- // sessionStorage.setItem('messageTip', res.message);
- // }
+ if (res.code == 200) {
+ window.location.href = './advise.html'
+ sessionStorage.setItem('messageTip', '');
+ } else {
+ window.location.href = './advise.html'
+ sessionStorage.setItem('messageTip', res.message);
+ }
})
.catch((err) => {});
},
diff --git a/paySuccess.html b/paysuccess.html
similarity index 99%
rename from paySuccess.html
rename to paysuccess.html
index 2ebdabc..8860d37 100644
--- a/paySuccess.html
+++ b/paysuccess.html
@@ -77,6 +77,7 @@
}
}).catch();
},
+
//弹出框提示
openTipDialog(popUpAttr) {
this.popAttr = popUpAttr;