diff --git a/packkey/combining.html b/packkey/combining.html index 6c01fb5..8a2888b 100644 --- a/packkey/combining.html +++ b/packkey/combining.html @@ -566,6 +566,7 @@ } else { /* 小程序 */ let ua = navigator.userAgent; //判断用户打开链接环境 + alert(ua, 6) if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0 Fw.device.api.openWXMiniProgram({ programID: "gh_07fecf7a6d31", diff --git a/packkey/reduce.html b/packkey/reduce.html index d62f82f..96ae8b1 100644 --- a/packkey/reduce.html +++ b/packkey/reduce.html @@ -262,6 +262,7 @@ self.toLinkAlipay(); } if (self.plaflam == 2) { + alert(ua, 5) if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0 return Fw.device.api.openWXMiniProgram({ programID: "gh_07fecf7a6d31", diff --git a/xw-pages/reduce.html b/xw-pages/reduce.html index 2f4eb3b..960b2a7 100644 --- a/xw-pages/reduce.html +++ b/xw-pages/reduce.html @@ -266,6 +266,7 @@ // 第二步:其它环境 微信小程序 this.loading = false; let ua = navigator.userAgent; //判断用户打开链接环境 + alert(ua, 3) if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0 Fw.device.api.openWXMiniProgram({ programID: "gh_07fecf7a6d31", diff --git a/xw-pages/wx-combining.html b/xw-pages/wx-combining.html index 0f645a1..44a2960 100644 --- a/xw-pages/wx-combining.html +++ b/xw-pages/wx-combining.html @@ -517,6 +517,7 @@ /* 小程序 */ // 邮储-唤起微信小程序 let ua = navigator.userAgent; //判断用户打开链接环境 + alert(ua, 4) if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0 Fw.device.api.openWXMiniProgram({ programID: "gh_07fecf7a6d31",