就是简单的获取到主页链接的accountId值然后进行base64解码得到QQ
至于单页是之前写的一个查题源码,反正方便
<?php
header("Content-Type: text/html;charset=utf-8");
$url = $_GET["url"];
if($url == null)
{
echo(msg:请输入完整的链接);
}
else{
parse_str($url,$arr);
$qq=array("qq"=>base64_decode($arr['accountId']));
echo (json_encode($qq,JSON_UNESCAPED_UNICODE));
}
header("Access-Control-Allow-Origin:*");
header('Access-Control-Allow-Methods:GET');
header('Access-Control-Allow-Headers:x-requested-with, content-type');
?>