use Mpcube\Wechat\Publics\AccessToken;
use Mpcube\Wechat\Publics\Utils\Qrcode;
//临时场景
global $access_token;
$qrcode = Qrcode::getInstance();
$ret = $qrcode->setAccessToken($access_token)->createQrcodeByQRSCENE(360, '1001');
var_dump($ret);
use Mpcube\Wechat\Publics\AccessToken;
use Mpcube\Wechat\Publics\Utils\Qrcode;
global $access_token;
$qrcode = Qrcode::getInstance();
$ret = $qrcode->setAccessToken($access_token)->showQrcode('gQGn7zwAAAAAAAAAAS5odHRwOi8vd2VpeGluLnFxLmNvbS9xLzAyaDJsYTRTeHBha1UxOXJXT2h0MVkAAgTzuDJdAwRoAQAA');
var_dump($ret);
use Mpcube\Wechat\Publics\AccessToken;
use Mpcube\Wechat\Publics\Utils\ShortURL;
global $access_token;
$surl = ShortURL::getInstance();
$ret = $surl->setAccessToken($access_token)->urlShort('https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=gQGn7zwAAAAAAAAAAS5odHRwOi8vd2VpeGluLnFxLmNvbS9xLzAyaDJsYTRTeHBha1UxOXJXT2h0MVkAAgTzuDJdAwRoAQA');
var_dump($ret);