Selaa lähdekoodia

h5支付操作

tang 3 vuotta sitten
vanhempi
commit
8088bd45c6
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      index.html

+ 2 - 1
index.html

@@ -462,7 +462,7 @@
462 462
                         // // window.location.replace("./Paytocomplete.html")
463 463
                         // window.location.href = path + "./Paytocomplete.html";
464 464
                         //结束loading
465
-                        alert('支付成功');
465
+                        alert(res,'支付成功');
466 466
                     },
467 467
                     // cancel: function (res) {
468 468
                     //      结束loading
@@ -476,6 +476,7 @@
476 476
             });
477 477
             wx.error(function (res) {
478 478
                 console.log('res', res);
479
+                alert(111)
479 480
             });
480 481
 
481 482
         }