手机银行唤起微信小程序
This commit is contained in:
parent
d74f68044a
commit
f0866e04b4
|
@ -561,9 +561,14 @@
|
|||
})
|
||||
} else if (ua.indexOf("Source/YOUBankApp/psbc") > -1) {
|
||||
function upWXSmallProgramYouBank(){
|
||||
function objectToQueryString(path) {
|
||||
const obj = JSON.parse(JSON.stringify(path));
|
||||
return Object.keys(obj).map(key => key + '=' + obj[key]).join('&');
|
||||
}
|
||||
let url = "pages/index/index?" + objectToQueryString(res.data);
|
||||
AlipayJSBridge.call('upWXSmallProgramYouBank', {
|
||||
id: 'gh_07fecf7a6d31',
|
||||
url: res.data.redirect_url,
|
||||
url: url,
|
||||
},
|
||||
function(result) {
|
||||
console.log(result);
|
||||
|
|
|
@ -577,9 +577,14 @@
|
|||
})
|
||||
} else if (ua.indexOf("Source/YOUBankApp/psbc") > -1) {
|
||||
function upWXSmallProgramYouBank(){
|
||||
function objectToQueryString(path) {
|
||||
const obj = JSON.parse(JSON.stringify(path));
|
||||
return Object.keys(obj).map(key => key + '=' + obj[key]).join('&');
|
||||
}
|
||||
let url = "pages/index/index?" + objectToQueryString(res.data);
|
||||
AlipayJSBridge.call('upWXSmallProgramYouBank', {
|
||||
id: 'gh_07fecf7a6d31',
|
||||
url: res.data.redirect_url,
|
||||
url: url,
|
||||
},
|
||||
function(result) {
|
||||
console.log(result);
|
||||
|
|
|
@ -273,9 +273,14 @@
|
|||
})
|
||||
} else if (ua.indexOf("Source/YOUBankApp/psbc") > -1) {
|
||||
function upWXSmallProgramYouBank(){
|
||||
function objectToQueryString(path) {
|
||||
const obj = JSON.parse(JSON.stringify(path));
|
||||
return Object.keys(obj).map(key => key + '=' + obj[key]).join('&');
|
||||
}
|
||||
let url = "pages/index/index?" + objectToQueryString(res.data);
|
||||
AlipayJSBridge.call('upWXSmallProgramYouBank', {
|
||||
id: 'gh_07fecf7a6d31',
|
||||
url: res.data.redirect_url,
|
||||
url: url,
|
||||
},
|
||||
function(result) {
|
||||
console.log(result);
|
||||
|
|
|
@ -277,9 +277,14 @@
|
|||
})
|
||||
} else if (ua.indexOf("Source/YOUBankApp/psbc") > -1) {
|
||||
function upWXSmallProgramYouBank(){
|
||||
function objectToQueryString(path) {
|
||||
const obj = JSON.parse(JSON.stringify(path));
|
||||
return Object.keys(obj).map(key => key + '=' + obj[key]).join('&');
|
||||
}
|
||||
let url = "pages/index/index?" + objectToQueryString(res.data);
|
||||
AlipayJSBridge.call('upWXSmallProgramYouBank', {
|
||||
id: 'gh_07fecf7a6d31',
|
||||
url: res.data.redirect_url,
|
||||
url: url,
|
||||
},
|
||||
function(result) {
|
||||
console.log(result);
|
||||
|
|
|
@ -528,9 +528,14 @@
|
|||
})
|
||||
} else if (ua.indexOf("Source/YOUBankApp/psbc") > -1) {
|
||||
function upWXSmallProgramYouBank(){
|
||||
function objectToQueryString(path) {
|
||||
const obj = JSON.parse(JSON.stringify(path));
|
||||
return Object.keys(obj).map(key => key + '=' + obj[key]).join('&');
|
||||
}
|
||||
let url = "pages/index/index?" + objectToQueryString(res.data);
|
||||
AlipayJSBridge.call('upWXSmallProgramYouBank', {
|
||||
id: 'gh_07fecf7a6d31',
|
||||
url: res.data.redirect_url,
|
||||
url: url,
|
||||
},
|
||||
function(result) {
|
||||
console.log(result);
|
||||
|
|
Loading…
Reference in New Issue