手机银行唤起微信小程序
This commit is contained in:
parent
b5aa1841cb
commit
d74f68044a
|
@ -276,7 +276,7 @@
|
||||||
function upWXSmallProgramYouBank(){
|
function upWXSmallProgramYouBank(){
|
||||||
function objectToQueryString(path) {
|
function objectToQueryString(path) {
|
||||||
const obj = JSON.parse(JSON.stringify(path));
|
const obj = JSON.parse(JSON.stringify(path));
|
||||||
return Object.keys(obj).map(key => encodeURIComponent(key) + '=' + encodeURIComponent(obj[key])).join('&');
|
return Object.keys(obj).map(key => key + '=' + obj[key]).join('&');
|
||||||
}
|
}
|
||||||
let url = "pages/index/index?" + objectToQueryString(res.data);
|
let url = "pages/index/index?" + objectToQueryString(res.data);
|
||||||
AlipayJSBridge.call('upWXSmallProgramYouBank', {
|
AlipayJSBridge.call('upWXSmallProgramYouBank', {
|
||||||
|
|
Loading…
Reference in New Issue