From a2b70dbc2539b0987a5fc4bc580c38cc58ad77f6 Mon Sep 17 00:00:00 2001 From: zhangguoping Date: Thu, 1 Aug 2024 11:53:14 +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 | 4 ++-- reduce.html | 6 +++--- wx-combining.html | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/combining.html b/combining.html index 8e93588..ceb604f 100644 --- a/combining.html +++ b/combining.html @@ -553,7 +553,7 @@ if (ua.indexOf("CreditCardAppNew") > -1 || ua.indexOf("CreditCardAppNew UnionPay/1.0") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0 Fw.device.api.openWXMiniProgram({ programID: "gh_07fecf7a6d31", - path: "pages/index/index", + path: `pages/index/index?code_batch_id=${this.code_batch_id}&token=${this.token}`, // miniType: 2, // 1 开发版 2 体验版 // 正式z 删除 extMsg: JSON.stringify({ code_batch_id: this.code_batch_id, @@ -576,7 +576,7 @@ console.log(result); }); } - // upWXSmallProgramYouBank(); + upWXSmallProgramYouBank(); } else { window.location.replace(res.data.redirect_url); } diff --git a/reduce.html b/reduce.html index 6bcbccc..b4c40dd 100644 --- a/reduce.html +++ b/reduce.html @@ -263,7 +263,7 @@ this.loading = false; return Fw.device.api.openWXMiniProgram({ programID: "gh_07fecf7a6d31", - path: "pages/index/index", + path: `pages/index/index?order_number=${res.data.order_number}`, // miniType: 2, // 1 开发版 2 体验版 // 正式z 删除 extMsg: JSON.stringify({ order_number: res.data.order_number @@ -288,8 +288,8 @@ console.log(result); }); } - // upWXSmallProgramYouBank(); - // return; + upWXSmallProgramYouBank(); + return; } //微信 // if (ua.indexOf("dingtalk") > -1) { diff --git a/wx-combining.html b/wx-combining.html index b9c4b38..d13d281 100644 --- a/wx-combining.html +++ b/wx-combining.html @@ -530,7 +530,7 @@ if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0 Fw.device.api.openWXMiniProgram({ programID: "gh_07fecf7a6d31", - path: "pages/index/index", + path: `pages/index/index?code_batch_id=${this.code_batch_id}&token=${this.token}`, // miniType: 2, // 1 开发版 2 体验版 // 正式z 删除 extMsg: JSON.stringify({ code_batch_id: this.code_batch_id, @@ -553,7 +553,7 @@ console.log(result); }); } - // upWXSmallProgramYouBank(); + upWXSmallProgramYouBank(); } else { window.location.replace(res.data.redirect_url); }