浏览代码

h5支付操作

tang 3 年之前
父节点
当前提交
78dc38b0aa
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Paytocomplete.html

+ 2 - 2
Paytocomplete.html

@@ -103,14 +103,14 @@
103
         }
103
         }
104
        function btn(){
104
        function btn(){
105
         var ua = window.navigator.userAgent.toLowerCase();
105
         var ua = window.navigator.userAgent.toLowerCase();
106
-        var UA=navigator.userAgent.toUpperCase();
106
+        // var UA=navigator.userAgent.toUpperCase();
107
         //判断是不是微信
107
         //判断是不是微信
108
         if (ua.match(/MicroMessenger/i) == "micromessenger") {
108
         if (ua.match(/MicroMessenger/i) == "micromessenger") {
109
             
109
             
110
         }
110
         }
111
         //判断是不是支付宝
111
         //判断是不是支付宝
112
         if (ua.match(/AlipayClient/i) == "alipayclient") {
112
         if (ua.match(/AlipayClient/i) == "alipayclient") {
113
-            location.replace("https://app.bjtdba.com/share/download.html")
113
+            location.replace("https://test.bjtdba.com/share/download.html")
114
         //    //如果是安卓浏览器(自带浏览器、UA浏览器、QQ浏览器等)
114
         //    //如果是安卓浏览器(自带浏览器、UA浏览器、QQ浏览器等)
115
         //    if(UA.indexOf("ANDROID")!=-1){ 
115
         //    if(UA.indexOf("ANDROID")!=-1){ 
116
         //     //创建iframe 
116
         //     //创建iframe