From 53c82edf60dade58e465bb61d00b4d448052bfe1 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Tue, 27 Jun 2023 17:17:02 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=8A=20fix:=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=94=AF=E4=BB=98=E5=AE=9D=E5=B0=8F=E7=A8=8B=E5=BA=8F=E8=A7=A3?= =?UTF-8?q?=E7=A0=81=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- redPackets.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redPackets.html b/redPackets.html index 8c375d3..d4b9c18 100644 --- a/redPackets.html +++ b/redPackets.html @@ -134,7 +134,7 @@ /* 根据环境进行下一步操作 1 支付宝 2 微信 */ judgeEnvironment (order_number, weiXinUrl) { if (this.goodsInfo.entity.channel === 1) { - const aliPaysUrl = `alipays://platformapi/startapp?appId=2021004100663111&page=pages/index/index?order_number=${encodeURIComponent(order_number)}`; + const aliPaysUrl = `alipays://platformapi/startapp?appId=2021004100663111&page=pages/index/index?order_number=${encodeURIComponent(window.btoa(order_number))}`; var ua = window.navigator.userAgent.toLowerCase(); /* 判断如果是微信/安卓百度浏览器 则复制链接 */ if (isWx() || (ua.indexOf("android") > -1 && ua.indexOf("baiduboxapp") > -1) || ua.indexOf("windows") > -1) {