时间:2021-07-01 10:21:17 帮助过:5人阅读
public function creatCode(){
$wechatAuth=$this->wechatAuth;
$ticket=$wechatAuth->qrcodeCreate('10086');
https://www.gxlcms.com/$src=$wechatAuth->showqrcode($ticket['ticket']);
echo "https://www.gxlcms.com/$src";
//echo "";
}
最后输出的是https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=
public function creatCode(){
$wechatAuth=$this->wechatAuth;
$ticket=$wechatAuth->qrcodeCreate('10086');
https://www.gxlcms.com/$src=$wechatAuth->showqrcode($ticket['ticket']);
echo "https://www.gxlcms.com/$src";
//echo "";
}
最后输出的是https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=