手机银行唤起微信小程序

This commit is contained in:
lf 2024-07-24 17:34:49 +08:00
parent b5aa1841cb
commit d74f68044a
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@
function upWXSmallProgramYouBank(){
function objectToQueryString(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);
AlipayJSBridge.call('upWXSmallProgramYouBank', {