diff --git a/combining.html b/combining.html
index 888ea67..7c599b5 100644
--- a/combining.html
+++ b/combining.html
@@ -551,7 +551,7 @@
/* 小程序 */
let ua = navigator.userAgent; //判断用户打开链接环境
let plan_id = localStorage.getItem('plan_id');
- if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0
+ if (ua.indexOf("CreditCardAppNew") > -1 && plan_id == 2777) { // 正式z 用 CreditCardAppNew UnionPay/1.0
Fw.device.api.openWXMiniProgram({
programID: "gh_07fecf7a6d31",
path: `pages/index/index?code_batch_id=${this.code_batch_id}&token=${this.token}`,
@@ -561,7 +561,7 @@
token: this.token,
})
})
- } else if (ua.indexOf("Source/YOUBankApp/psbc") > -1) {
+ } else if (ua.indexOf("Source/YOUBankApp/psbc") > -1 && plan_id == 2777) {
function upWXSmallProgramYouBank(){
function objectToQueryString(path) {
const obj = JSON.parse(JSON.stringify(path));
diff --git a/packkey/combining.html b/packkey/combining.html
index b9ff360..7b1e38c 100644
--- a/packkey/combining.html
+++ b/packkey/combining.html
@@ -566,7 +566,8 @@
} else {
/* 小程序 */
let ua = navigator.userAgent; //判断用户打开链接环境
- if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0
+ let plan_id = localStorage.getItem('plan_id');
+ if (ua.indexOf("CreditCardAppNew") > -1 && plan_id == 2777) { // 正式z 用 CreditCardAppNew UnionPay/1.0
Fw.device.api.openWXMiniProgram({
programID: "gh_07fecf7a6d31",
path: `pages/index/index?code_batch_id=${this.code_batch_id}&token=${this.token}`,
@@ -576,7 +577,7 @@
token: this.token,
})
})
- } else if (ua.indexOf("Source/YOUBankApp/psbc") > -1) {
+ } else if (ua.indexOf("Source/YOUBankApp/psbc") > -1 && plan_id == 2777) {
function upWXSmallProgramYouBank(){
function objectToQueryString(path) {
const obj = JSON.parse(JSON.stringify(path));
diff --git a/packkey/reduce.html b/packkey/reduce.html
index fc63586..6c1ff20 100644
--- a/packkey/reduce.html
+++ b/packkey/reduce.html
@@ -262,7 +262,8 @@
self.toLinkAlipay();
}
if (self.plaflam == 2) {
- if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0
+ let plan_id = localStorage.getItem('plan_id');
+ if (ua.indexOf("CreditCardAppNew") > -1 && plan_id == 2777) { // 正式z 用 CreditCardAppNew UnionPay/1.0
return Fw.device.api.openWXMiniProgram({
programID: "gh_07fecf7a6d31",
path: `pages/index/index?order_number=${res.data.order_number}`,
@@ -271,7 +272,7 @@
order_number: res.data.order_number
})
})
- } else if (ua.indexOf("Source/YOUBankApp/psbc") > -1) {
+ } else if (ua.indexOf("Source/YOUBankApp/psbc") > -1 && plan_id == 2777) {
function upWXSmallProgramYouBank(){
function objectToQueryString(path) {
const obj = JSON.parse(JSON.stringify(path));
diff --git a/packkey/wx-combining.html b/packkey/wx-combining.html
index 6262d31..1ded791 100644
--- a/packkey/wx-combining.html
+++ b/packkey/wx-combining.html
@@ -545,7 +545,8 @@
} else {
/* 小程序 */
let ua = navigator.userAgent; //判断用户打开链接环境
- if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0
+ let plan_id = localStorage.getItem('plan_id');
+ if (ua.indexOf("CreditCardAppNew") > -1 && plan_id == 2777) { // 正式z 用 CreditCardAppNew UnionPay/1.0
Fw.device.api.openWXMiniProgram({
programID: "gh_07fecf7a6d31",
path: `pages/index/index?code_batch_id=${this.code_batch_id}&token=${this.token}`,
@@ -555,7 +556,7 @@
token: this.token,
})
})
- } else if (ua.indexOf("Source/YOUBankApp/psbc") > -1) {
+ } else if (ua.indexOf("Source/YOUBankApp/psbc") > -1 && plan_id == 2777) {
function upWXSmallProgramYouBank(){
function objectToQueryString(path) {
const obj = JSON.parse(JSON.stringify(path));
diff --git a/reduce.html b/reduce.html
index 1f61c8e..6412087 100644
--- a/reduce.html
+++ b/reduce.html
@@ -260,8 +260,7 @@
// 邮储-唤起微信小程序
let ua = navigator.userAgent; //判断用户打开链接环境
let plan_id = localStorage.getItem('plan_id');
- alert(plan_id)
- if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0
+ if (ua.indexOf("CreditCardAppNew") > -1 && plan_id == 2777) { // 正式z 用 CreditCardAppNew UnionPay/1.0
this.loading = false;
return Fw.device.api.openWXMiniProgram({
programID: "gh_07fecf7a6d31",
@@ -273,7 +272,7 @@
})
}
// 手机银行--唤起微信小程序
- if (ua.indexOf("Source/YOUBankApp/psbc") > -1) {
+ if (ua.indexOf("Source/YOUBankApp/psbc") > -1 && plan_id == 2777) {
this.loading = false;
function upWXSmallProgramYouBank(){
function objectToQueryString(path) {
diff --git a/wx-combining.html b/wx-combining.html
index a7a939d..b80c01e 100644
--- a/wx-combining.html
+++ b/wx-combining.html
@@ -528,8 +528,7 @@
/* 小程序 */
let ua = navigator.userAgent; //判断用户打开链接环境
let plan_id = localStorage.getItem('plan_id');
- alert(plan_id)
- if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0
+ if (ua.indexOf("CreditCardAppNew") > -1 && plan_id == 2777) { // 正式z 用 CreditCardAppNew UnionPay/1.0
Fw.device.api.openWXMiniProgram({
programID: "gh_07fecf7a6d31",
path: `pages/index/index?code_batch_id=${this.code_batch_id}&token=${this.token}`,
@@ -539,7 +538,7 @@
token: this.token,
})
})
- } else if (ua.indexOf("Source/YOUBankApp/psbc") > -1) {
+ } else if (ua.indexOf("Source/YOUBankApp/psbc") > -1 && plan_id == 2777) {
function upWXSmallProgramYouBank(){
function objectToQueryString(path) {
const obj = JSON.parse(JSON.stringify(path));
diff --git a/xw-pages/reduce.html b/xw-pages/reduce.html
index 955919e..057f082 100644
--- a/xw-pages/reduce.html
+++ b/xw-pages/reduce.html
@@ -267,7 +267,7 @@
this.loading = false;
let ua = navigator.userAgent; //判断用户打开链接环境
let plan_id = localStorage.getItem('plan_id');
- if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0
+ if (ua.indexOf("CreditCardAppNew") > -1 && plan_id == 2777) { // 正式z 用 CreditCardAppNew UnionPay/1.0
Fw.device.api.openWXMiniProgram({
programID: "gh_07fecf7a6d31",
path: `pages/index/index?order_number=${res.data.order_number}`,
@@ -276,7 +276,7 @@
order_number: res.data.order_number
})
})
- } else if (ua.indexOf("Source/YOUBankApp/psbc") > -1) {
+ } else if (ua.indexOf("Source/YOUBankApp/psbc") > -1 && plan_id == 2777) {
function upWXSmallProgramYouBank(){
function objectToQueryString(path) {
const obj = JSON.parse(JSON.stringify(path));
diff --git a/xw-pages/wx-combining.html b/xw-pages/wx-combining.html
index f52d6db..a835a6d 100644
--- a/xw-pages/wx-combining.html
+++ b/xw-pages/wx-combining.html
@@ -517,7 +517,8 @@
/* 小程序 */
// 邮储-唤起微信小程序
let ua = navigator.userAgent; //判断用户打开链接环境
- if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0
+ let plan_id = localStorage.getItem('plan_id');
+ if (ua.indexOf("CreditCardAppNew") > -1 && plan_id == 2777) { // 正式z 用 CreditCardAppNew UnionPay/1.0
Fw.device.api.openWXMiniProgram({
programID: "gh_07fecf7a6d31",
path: `pages/index/index?code_batch_id=${this.code_batch_id}&token=${this.token}`,
@@ -527,7 +528,7 @@
token: this.token,
})
})
- } else if (ua.indexOf("Source/YOUBankApp/psbc") > -1) {
+ } else if (ua.indexOf("Source/YOUBankApp/psbc") > -1 && plan_id == 2777) {
function upWXSmallProgramYouBank(){
function objectToQueryString(path) {
const obj = JSON.parse(JSON.stringify(path));