public function creatCode(){
$wechatAuth=$this->wechatAuth;
$ticket=$wechatAuth->qrcodeCreate('10086');
$src=$wechatAuth->showqrcode($ticket['ticket']);
echo "$src";
//echo "<img src='$src' width='90%'/>";
}
最后输出的是https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=