参数问题
This commit is contained in:
parent
cc7d0795da
commit
62d60925c1
|
@ -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));
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue