From 634278d1aec63da9c1905da05c9b36a095c38e33 Mon Sep 17 00:00:00 2001 From: pkkgu <910111100@qq.com> Date: Mon, 22 Aug 2022 07:06:33 +0000 Subject: [PATCH] =?UTF-8?q?update=20WeChat/Qrcode.php.=20=E9=80=9A?= =?UTF-8?q?=E8=BF=87ticket=E6=8D=A2=E5=8F=96=E4=BA=8C=E7=BB=B4=E7=A0=81?= =?UTF-8?q?=EF=BC=88ticket=E5=BA=94=E8=AF=A5=E5=8A=A0urlencode=EF=BC=89?= =?UTF-8?q?=E5=90=A6=E5=88=99=E6=9F=90=E4=BA=9B=E6=83=85=E5=86=B5=E4=B8=8B?= =?UTF-8?q?=E5=8F=AF=E8=83=BD=E6=8D=A2=E5=8F=96=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: pkkgu <910111100@qq.com> --- WeChat/Qrcode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WeChat/Qrcode.php b/WeChat/Qrcode.php index af14328..a7be267 100644 --- a/WeChat/Qrcode.php +++ b/WeChat/Qrcode.php @@ -57,7 +57,7 @@ class Qrcode extends BasicWeChat */ public function url($ticket) { - return "https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket={$ticket}"; + return "https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=".urlencode($ticket); } /**