|
|
@@ -459,7 +459,7 @@
|
|
459
|
459
|
success: (res) => {
|
|
460
|
460
|
// 支付成功后的回调函数
|
|
461
|
461
|
// location.replace("./Paytocomplete.html")
|
|
462
|
|
- // // window.location.replace("./Paytocomplete.html")
|
|
|
462
|
+ // window.location.replace("./Paytocomplete.html")
|
|
463
|
463
|
// window.location.href = path + "./Paytocomplete.html";
|
|
464
|
464
|
//结束loading
|
|
465
|
465
|
alert(res,'支付成功');
|
|
|
@@ -476,7 +476,6 @@
|
|
476
|
476
|
});
|
|
477
|
477
|
wx.error(function (res) {
|
|
478
|
478
|
console.log('res', res);
|
|
479
|
|
- alert(111)
|
|
480
|
479
|
});
|
|
481
|
480
|
|
|
482
|
481
|
}
|
|
|
@@ -488,6 +487,7 @@
|
|
488
|
487
|
}, function (result) {
|
|
489
|
488
|
if (result.resultCode == '9000') {
|
|
490
|
489
|
location.replace("./Paytocomplete.html");
|
|
|
490
|
+ alert(result)
|
|
491
|
491
|
money = '';
|
|
492
|
492
|
} else {
|
|
493
|
493
|
alert("支付失败")
|