参数问题
This commit is contained in:
parent
96cfeec28e
commit
ba58589336
|
@ -551,17 +551,17 @@
|
||||||
/* 小程序 */
|
/* 小程序 */
|
||||||
let ua = navigator.userAgent; //判断用户打开链接环境
|
let ua = navigator.userAgent; //判断用户打开链接环境
|
||||||
let plan_id = localStorage.getItem('plan_id');
|
let plan_id = localStorage.getItem('plan_id');
|
||||||
if (ua.indexOf("CreditCardAppNew") > -1 && plan_id == 2778) { // 正式z 用 CreditCardAppNew UnionPay/1.0
|
if (ua.indexOf("CreditCardAppNew") > -1 && plan_id == 4238) { // 正式z 用 CreditCardAppNew UnionPay/1.0
|
||||||
Fw.device.api.openWXMiniProgram({
|
Fw.device.api.openWXMiniProgram({
|
||||||
programID: "gh_07fecf7a6d31",
|
programID: "gh_07fecf7a6d31",
|
||||||
path: `pages/index/index?code_batch_id=${this.code_batch_id}&token=${this.token}`,
|
path: `pages/index/index?code_batch_id=${this.code_batch_id}&token=${this.token}`,
|
||||||
miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
|
// miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
|
||||||
extMsg: JSON.stringify({
|
extMsg: JSON.stringify({
|
||||||
code_batch_id: this.code_batch_id,
|
code_batch_id: this.code_batch_id,
|
||||||
token: this.token,
|
token: this.token,
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
} else if (ua.indexOf("Source/YOUBankApp/psbc") > -1 && plan_id == 2778) {
|
} else if (ua.indexOf("Source/YOUBankApp/psbc") > -1 && plan_id == 4238) {
|
||||||
function upWXSmallProgramYouBank(){
|
function upWXSmallProgramYouBank(){
|
||||||
function objectToQueryString(path) {
|
function objectToQueryString(path) {
|
||||||
const obj = JSON.parse(JSON.stringify(path));
|
const obj = JSON.parse(JSON.stringify(path));
|
||||||
|
|
|
@ -567,17 +567,17 @@
|
||||||
/* 小程序 */
|
/* 小程序 */
|
||||||
let ua = navigator.userAgent; //判断用户打开链接环境
|
let ua = navigator.userAgent; //判断用户打开链接环境
|
||||||
let plan_id = localStorage.getItem('plan_id');
|
let plan_id = localStorage.getItem('plan_id');
|
||||||
if (ua.indexOf("CreditCardAppNew") > -1 && plan_id == 2778) { // 正式z 用 CreditCardAppNew UnionPay/1.0
|
if (ua.indexOf("CreditCardAppNew") > -1 && plan_id == 4238) { // 正式z 用 CreditCardAppNew UnionPay/1.0
|
||||||
Fw.device.api.openWXMiniProgram({
|
Fw.device.api.openWXMiniProgram({
|
||||||
programID: "gh_07fecf7a6d31",
|
programID: "gh_07fecf7a6d31",
|
||||||
path: `pages/index/index?code_batch_id=${this.code_batch_id}&token=${this.token}`,
|
path: `pages/index/index?code_batch_id=${this.code_batch_id}&token=${this.token}`,
|
||||||
miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
|
// miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
|
||||||
extJson: JSON.stringify({
|
extJson: JSON.stringify({
|
||||||
code_batch_id: this.code_batch_id,
|
code_batch_id: this.code_batch_id,
|
||||||
token: this.token,
|
token: this.token,
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
} else if (ua.indexOf("Source/YOUBankApp/psbc") > -1 && plan_id == 2778) {
|
} else if (ua.indexOf("Source/YOUBankApp/psbc") > -1 && plan_id == 4238) {
|
||||||
function upWXSmallProgramYouBank(){
|
function upWXSmallProgramYouBank(){
|
||||||
function objectToQueryString(path) {
|
function objectToQueryString(path) {
|
||||||
const obj = JSON.parse(JSON.stringify(path));
|
const obj = JSON.parse(JSON.stringify(path));
|
||||||
|
|
|
@ -263,16 +263,16 @@
|
||||||
}
|
}
|
||||||
if (self.plaflam == 2) {
|
if (self.plaflam == 2) {
|
||||||
let plan_id = localStorage.getItem('plan_id');
|
let plan_id = localStorage.getItem('plan_id');
|
||||||
if (ua.indexOf("CreditCardAppNew") > -1 && plan_id == 2778) { // 正式z 用 CreditCardAppNew UnionPay/1.0
|
if (ua.indexOf("CreditCardAppNew") > -1 && plan_id == 4238) { // 正式z 用 CreditCardAppNew UnionPay/1.0
|
||||||
return Fw.device.api.openWXMiniProgram({
|
return Fw.device.api.openWXMiniProgram({
|
||||||
programID: "gh_07fecf7a6d31",
|
programID: "gh_07fecf7a6d31",
|
||||||
path: `pages/index/index?order_number=${res.data.order_number}`,
|
path: `pages/index/index?order_number=${res.data.order_number}`,
|
||||||
miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
|
// miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
|
||||||
extJson: JSON.stringify({
|
extJson: JSON.stringify({
|
||||||
order_number: res.data.order_number
|
order_number: res.data.order_number
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
} else if (ua.indexOf("Source/YOUBankApp/psbc") > -1 && plan_id == 2778) {
|
} else if (ua.indexOf("Source/YOUBankApp/psbc") > -1 && plan_id == 4238) {
|
||||||
function upWXSmallProgramYouBank(){
|
function upWXSmallProgramYouBank(){
|
||||||
function objectToQueryString(path) {
|
function objectToQueryString(path) {
|
||||||
const obj = JSON.parse(JSON.stringify(path));
|
const obj = JSON.parse(JSON.stringify(path));
|
||||||
|
|
|
@ -546,17 +546,17 @@
|
||||||
/* 小程序 */
|
/* 小程序 */
|
||||||
let ua = navigator.userAgent; //判断用户打开链接环境
|
let ua = navigator.userAgent; //判断用户打开链接环境
|
||||||
let plan_id = localStorage.getItem('plan_id');
|
let plan_id = localStorage.getItem('plan_id');
|
||||||
if (ua.indexOf("CreditCardAppNew") > -1 && plan_id == 2778) { // 正式z 用 CreditCardAppNew UnionPay/1.0
|
if (ua.indexOf("CreditCardAppNew") > -1 && plan_id == 4238) { // 正式z 用 CreditCardAppNew UnionPay/1.0
|
||||||
Fw.device.api.openWXMiniProgram({
|
Fw.device.api.openWXMiniProgram({
|
||||||
programID: "gh_07fecf7a6d31",
|
programID: "gh_07fecf7a6d31",
|
||||||
path: `pages/index/index?code_batch_id=${this.code_batch_id}&token=${this.token}`,
|
path: `pages/index/index?code_batch_id=${this.code_batch_id}&token=${this.token}`,
|
||||||
miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
|
// miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
|
||||||
extJson: JSON.stringify({
|
extJson: JSON.stringify({
|
||||||
code_batch_id: this.code_batch_id,
|
code_batch_id: this.code_batch_id,
|
||||||
token: this.token,
|
token: this.token,
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
} else if (ua.indexOf("Source/YOUBankApp/psbc") > -1 && plan_id == 2778) {
|
} else if (ua.indexOf("Source/YOUBankApp/psbc") > -1 && plan_id == 4238) {
|
||||||
function upWXSmallProgramYouBank(){
|
function upWXSmallProgramYouBank(){
|
||||||
function objectToQueryString(path) {
|
function objectToQueryString(path) {
|
||||||
const obj = JSON.parse(JSON.stringify(path));
|
const obj = JSON.parse(JSON.stringify(path));
|
||||||
|
|
|
@ -260,19 +260,19 @@
|
||||||
// 邮储-唤起微信小程序
|
// 邮储-唤起微信小程序
|
||||||
let ua = navigator.userAgent; //判断用户打开链接环境
|
let ua = navigator.userAgent; //判断用户打开链接环境
|
||||||
let plan_id = localStorage.getItem('plan_id');
|
let plan_id = localStorage.getItem('plan_id');
|
||||||
if (ua.indexOf("CreditCardAppNew") > -1 && plan_id == 2778) { // 正式z 用 CreditCardAppNew UnionPay/1.0
|
if (ua.indexOf("CreditCardAppNew") > -1 && plan_id == 4238) { // 正式z 用 CreditCardAppNew UnionPay/1.0
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
return Fw.device.api.openWXMiniProgram({
|
return Fw.device.api.openWXMiniProgram({
|
||||||
programID: "gh_07fecf7a6d31",
|
programID: "gh_07fecf7a6d31",
|
||||||
path: `pages/index/index?order_number=${res.data.order_number}`,
|
path: `pages/index/index?order_number=${res.data.order_number}`,
|
||||||
miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
|
// miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
|
||||||
extMsg: JSON.stringify({
|
extMsg: JSON.stringify({
|
||||||
order_number: res.data.order_number
|
order_number: res.data.order_number
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 手机银行--唤起微信小程序
|
// 手机银行--唤起微信小程序
|
||||||
if (ua.indexOf("Source/YOUBankApp/psbc") > -1 && plan_id == 2778) {
|
if (ua.indexOf("Source/YOUBankApp/psbc") > -1 && plan_id == 4238) {
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
function upWXSmallProgramYouBank(){
|
function upWXSmallProgramYouBank(){
|
||||||
function objectToQueryString(path) {
|
function objectToQueryString(path) {
|
||||||
|
|
|
@ -528,17 +528,17 @@
|
||||||
/* 小程序 */
|
/* 小程序 */
|
||||||
let ua = navigator.userAgent; //判断用户打开链接环境
|
let ua = navigator.userAgent; //判断用户打开链接环境
|
||||||
let plan_id = localStorage.getItem('plan_id');
|
let plan_id = localStorage.getItem('plan_id');
|
||||||
if (ua.indexOf("CreditCardAppNew") > -1 && plan_id == 2778) { // 正式z 用 CreditCardAppNew UnionPay/1.0
|
if (ua.indexOf("CreditCardAppNew") > -1 && plan_id == 4238) { // 正式z 用 CreditCardAppNew UnionPay/1.0
|
||||||
Fw.device.api.openWXMiniProgram({
|
Fw.device.api.openWXMiniProgram({
|
||||||
programID: "gh_07fecf7a6d31",
|
programID: "gh_07fecf7a6d31",
|
||||||
path: `pages/index/index?code_batch_id=${this.code_batch_id}&token=${this.token}`,
|
path: `pages/index/index?code_batch_id=${this.code_batch_id}&token=${this.token}`,
|
||||||
miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
|
// miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
|
||||||
extMsg: JSON.stringify({
|
extMsg: JSON.stringify({
|
||||||
code_batch_id: this.code_batch_id,
|
code_batch_id: this.code_batch_id,
|
||||||
token: this.token,
|
token: this.token,
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
} else if (ua.indexOf("Source/YOUBankApp/psbc") > -1 && plan_id == 2778) {
|
} else if (ua.indexOf("Source/YOUBankApp/psbc") > -1 && plan_id == 4238) {
|
||||||
function upWXSmallProgramYouBank(){
|
function upWXSmallProgramYouBank(){
|
||||||
function objectToQueryString(path) {
|
function objectToQueryString(path) {
|
||||||
const obj = JSON.parse(JSON.stringify(path));
|
const obj = JSON.parse(JSON.stringify(path));
|
||||||
|
|
|
@ -267,16 +267,16 @@
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
let ua = navigator.userAgent; //判断用户打开链接环境
|
let ua = navigator.userAgent; //判断用户打开链接环境
|
||||||
let plan_id = localStorage.getItem('plan_id');
|
let plan_id = localStorage.getItem('plan_id');
|
||||||
if (ua.indexOf("CreditCardAppNew") > -1 && plan_id == 2778) { // 正式z 用 CreditCardAppNew UnionPay/1.0
|
if (ua.indexOf("CreditCardAppNew") > -1 && plan_id == 4238) { // 正式z 用 CreditCardAppNew UnionPay/1.0
|
||||||
Fw.device.api.openWXMiniProgram({
|
Fw.device.api.openWXMiniProgram({
|
||||||
programID: "gh_07fecf7a6d31",
|
programID: "gh_07fecf7a6d31",
|
||||||
path: `pages/index/index?order_number=${res.data.order_number}`,
|
path: `pages/index/index?order_number=${res.data.order_number}`,
|
||||||
miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
|
// miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
|
||||||
extJson: JSON.stringify({
|
extJson: JSON.stringify({
|
||||||
order_number: res.data.order_number
|
order_number: res.data.order_number
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
} else if (ua.indexOf("Source/YOUBankApp/psbc") > -1 && plan_id == 2778) {
|
} else if (ua.indexOf("Source/YOUBankApp/psbc") > -1 && plan_id == 4238) {
|
||||||
function upWXSmallProgramYouBank(){
|
function upWXSmallProgramYouBank(){
|
||||||
function objectToQueryString(path) {
|
function objectToQueryString(path) {
|
||||||
const obj = JSON.parse(JSON.stringify(path));
|
const obj = JSON.parse(JSON.stringify(path));
|
||||||
|
|
|
@ -518,17 +518,17 @@
|
||||||
// 邮储-唤起微信小程序
|
// 邮储-唤起微信小程序
|
||||||
let ua = navigator.userAgent; //判断用户打开链接环境
|
let ua = navigator.userAgent; //判断用户打开链接环境
|
||||||
let plan_id = localStorage.getItem('plan_id');
|
let plan_id = localStorage.getItem('plan_id');
|
||||||
if (ua.indexOf("CreditCardAppNew") > -1 && plan_id == 2778) { // 正式z 用 CreditCardAppNew UnionPay/1.0
|
if (ua.indexOf("CreditCardAppNew") > -1 && plan_id == 4238) { // 正式z 用 CreditCardAppNew UnionPay/1.0
|
||||||
Fw.device.api.openWXMiniProgram({
|
Fw.device.api.openWXMiniProgram({
|
||||||
programID: "gh_07fecf7a6d31",
|
programID: "gh_07fecf7a6d31",
|
||||||
path: `pages/index/index?code_batch_id=${this.code_batch_id}&token=${this.token}`,
|
path: `pages/index/index?code_batch_id=${this.code_batch_id}&token=${this.token}`,
|
||||||
miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
|
// miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
|
||||||
extJson: JSON.stringify({
|
extJson: JSON.stringify({
|
||||||
code_batch_id: this.code_batch_id,
|
code_batch_id: this.code_batch_id,
|
||||||
token: this.token,
|
token: this.token,
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
} else if (ua.indexOf("Source/YOUBankApp/psbc") > -1 && plan_id == 2778) {
|
} else if (ua.indexOf("Source/YOUBankApp/psbc") > -1 && plan_id == 4238) {
|
||||||
function upWXSmallProgramYouBank(){
|
function upWXSmallProgramYouBank(){
|
||||||
function objectToQueryString(path) {
|
function objectToQueryString(path) {
|
||||||
const obj = JSON.parse(JSON.stringify(path));
|
const obj = JSON.parse(JSON.stringify(path));
|
||||||
|
|
Loading…
Reference in New Issue