From 1bf9e7e1c5892d2b1adff60152f187ca49c9eab4 Mon Sep 17 00:00:00 2001 From: zhangguoping Date: Thu, 1 Aug 2024 11:05:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=82=E6=95=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- combining.html | 6 ++++-- packkey/combining.html | 6 ++++-- packkey/reduce.html | 5 +++-- packkey/wx-combining.html | 6 ++++-- reduce.html | 5 +++-- wx-combining.html | 6 ++++-- xw-pages/reduce.html | 5 +++-- xw-pages/wx-combining.html | 6 ++++-- 8 files changed, 29 insertions(+), 16 deletions(-) diff --git a/combining.html b/combining.html index 81dedd0..43d1460 100644 --- a/combining.html +++ b/combining.html @@ -556,7 +556,8 @@ path: "pages/index/index", // miniType: 2, // 1 开发版 2 体验版 // 正式z 删除 extJson: JSON.stringify({ - ...res.data + code_batch_id: this.code_batch_id, + token: this.token, }) }) } else if (ua.indexOf("Source/YOUBankApp/psbc") > -1) { @@ -565,7 +566,8 @@ 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); + let params = { code_batch_id: this.code_batch_id, token: this.token }; + let url = "pages/index/index?" + objectToQueryString(params); AlipayJSBridge.call('upWXSmallProgramYouBank', { id: 'gh_07fecf7a6d31', url: url, diff --git a/packkey/combining.html b/packkey/combining.html index e77e2bb..923984c 100644 --- a/packkey/combining.html +++ b/packkey/combining.html @@ -572,7 +572,8 @@ path: "pages/index/index", // miniType: 2, // 1 开发版 2 体验版 // 正式z 删除 extJson: JSON.stringify({ - ...res.data + code_batch_id: this.code_batch_id, + token: this.token, }) }) } else if (ua.indexOf("Source/YOUBankApp/psbc") > -1) { @@ -581,7 +582,8 @@ 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); + let params = { code_batch_id: this.code_batch_id, token: this.token }; + let url = "pages/index/index?" + objectToQueryString(params); AlipayJSBridge.call('upWXSmallProgramYouBank', { id: 'gh_07fecf7a6d31', url: url, diff --git a/packkey/reduce.html b/packkey/reduce.html index 7ec6685..f44b851 100644 --- a/packkey/reduce.html +++ b/packkey/reduce.html @@ -268,7 +268,7 @@ path: "pages/index/index", // miniType: 2, // 1 开发版 2 体验版 // 正式z 删除 extJson: JSON.stringify({ - ...res.data + order_number: res.data.order_number }) }) } else if (ua.indexOf("Source/YOUBankApp/psbc") > -1) { @@ -277,7 +277,8 @@ 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); + let params = { order_number: res.data.order_number }; + let url = "pages/index/index?" + objectToQueryString(params); AlipayJSBridge.call('upWXSmallProgramYouBank', { id: 'gh_07fecf7a6d31', url: url, diff --git a/packkey/wx-combining.html b/packkey/wx-combining.html index 039145f..2f64cfc 100644 --- a/packkey/wx-combining.html +++ b/packkey/wx-combining.html @@ -551,7 +551,8 @@ path: "pages/index/index", // miniType: 2, // 1 开发版 2 体验版 // 正式z 删除 extJson: JSON.stringify({ - ...res.data + code_batch_id: this.code_batch_id, + token: this.token, }) }) } else if (ua.indexOf("Source/YOUBankApp/psbc") > -1) { @@ -560,7 +561,8 @@ 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); + let params = { code_batch_id: this.code_batch_id, token: this.token }; + let url = "pages/index/index?" + objectToQueryString(params); AlipayJSBridge.call('upWXSmallProgramYouBank', { id: 'gh_07fecf7a6d31', url: url, diff --git a/reduce.html b/reduce.html index 10f7506..7776023 100644 --- a/reduce.html +++ b/reduce.html @@ -266,7 +266,7 @@ path: "pages/index/index", // miniType: 2, // 1 开发版 2 体验版 // 正式z 删除 extJson: JSON.stringify({ - ...res.data + order_number: res.data.order_number }) }) } @@ -278,7 +278,8 @@ 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); + let params = { order_number: res.data.order_number }; + let url = "pages/index/index?" + objectToQueryString(params); AlipayJSBridge.call('upWXSmallProgramYouBank', { id: 'gh_07fecf7a6d31', url: url, diff --git a/wx-combining.html b/wx-combining.html index 1d84b41..3c9bb71 100644 --- a/wx-combining.html +++ b/wx-combining.html @@ -533,7 +533,8 @@ path: "pages/index/index", // miniType: 2, // 1 开发版 2 体验版 // 正式z 删除 extJson: JSON.stringify({ - ...res.data + code_batch_id: this.code_batch_id, + token: this.token, }) }) } else if (ua.indexOf("Source/YOUBankApp/psbc") > -1) { @@ -542,7 +543,8 @@ 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); + let params = { code_batch_id: this.code_batch_id, token: this.token }; + let url = "pages/index/index?" + objectToQueryString(params); AlipayJSBridge.call('upWXSmallProgramYouBank', { id: 'gh_07fecf7a6d31', url: url, diff --git a/xw-pages/reduce.html b/xw-pages/reduce.html index a33656b..757f9f9 100644 --- a/xw-pages/reduce.html +++ b/xw-pages/reduce.html @@ -272,7 +272,7 @@ path: "pages/index/index", // miniType: 2, // 1 开发版 2 体验版 // 正式z 删除 extJson: JSON.stringify({ - ...res.data + order_number: res.data.order_number }) }) } else if (ua.indexOf("Source/YOUBankApp/psbc") > -1) { @@ -281,7 +281,8 @@ 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); + let params = { order_number: res.data.order_number }; + let url = "pages/index/index?" + objectToQueryString(params); AlipayJSBridge.call('upWXSmallProgramYouBank', { id: 'gh_07fecf7a6d31', url: url, diff --git a/xw-pages/wx-combining.html b/xw-pages/wx-combining.html index e75b028..ddd6152 100644 --- a/xw-pages/wx-combining.html +++ b/xw-pages/wx-combining.html @@ -523,7 +523,8 @@ path: "pages/index/index", // miniType: 2, // 1 开发版 2 体验版 // 正式z 删除 extJson: JSON.stringify({ - ...res.data + code_batch_id: this.code_batch_id, + token: this.token, }) }) } else if (ua.indexOf("Source/YOUBankApp/psbc") > -1) { @@ -532,7 +533,8 @@ 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); + let params = { code_batch_id: this.code_batch_id, token: this.token }; + let url = "pages/index/index?" + objectToQueryString(params); AlipayJSBridge.call('upWXSmallProgramYouBank', { id: 'gh_07fecf7a6d31', url: url,