!4 update WeChat/Qrcode.php.

Merge pull request !4 from pkkgu/N/A
This commit is contained in:
Anyon 2022-08-22 08:21:36 +00:00 committed by Gitee
commit e061f4e374
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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);
}
/**