当前位置:网站首页>QQ domain name detection API interface sharing (with internal access automatic jump PHP code)

QQ domain name detection API interface sharing (with internal access automatic jump PHP code)

2022-06-24 17:12:00 Jingtian

qq Domain name detection api file

Address of the interface : http://api.new.urlzt.com/api/qq

Request mode : GET/POST

Request example : http://api.new.urlzt.com/api/qq?token=Token( The background automatically generates unique Token value )&url=www.urlzt.com

( Backstage address :https://dwz.cn/TzLUYNU2)

Request parameter description

{"code":201,"url":"nuaajt.cn","msg":" The domain name has been blocked "}
{"code":200,"url":"qq.com","msg":" The domain name status is normal "}
{"code":-1,"url":"www.urlzt.com","msg":" The user doesn't exist "}

The above is an example of some returned results , The specific returned result codes are compared as follows :

name

type

explain

code

int

200: Is normal

201: Abnormal said

500: It means failure

-1: Indicates insufficient points 、 The user doesn't exist 、 Illegal request or API Lack of parameter

msg

string

Return results , If it is abnormal, it is the abnormal cause

stay qq Internal access auto jump page php Code

The code has done ios Compatible with Android , You need to replace one of them Jump URL (www.urlzt.com) I have annotated it

<?php
error_reporting(0);
if($_GET['open']==1 && strpos($_SERVER['HTTP_USER_AGENT'], 'MicroMessenger')!==false){
header("Content-Disposition: attachment; filename=\"load.doc\"");
header("Content-Type: application/vnd.ms-word;charset=utf-8");
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Welcome</title>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport"/>
<meta content="yes" name="apple-mobile-web-app-capable"/>
<meta content="black" name="apple-mobile-web-app-status-bar-style"/>
<meta name="format-detection" content="telephone=no"/>
<meta content="false" name="twcClient" id="twcClient"/>
<style>
body,html{width:100%;height:100%}
*{margin:0;padding:0}
body{background-color:#fff}
.top-bar-guidance{font-size:15px;color:#fff;height:40%;line-height:1.8;padding-left:20px;padding-top:20px;background:url(//gw.alicdn.com/tfs/TB1eSZaNFXXXXb.XXXXXXXXXXXX-750-234.png)  center top/contain no-repeat}
.top-bar-guidance .icon-safari{width:25px;height:25px;vertical-align:middle;margin:0 .2em}
.app-download-btn{display:block;width:214px;height:40px;line-height:40px;margin:18px  auto 0  auto;text-align:center;font-size:18px;color:#2466f4;border-radius:20px;border:.5px  #2466f4 solid;text-decoration:none}
</style>
</head>
<body>
<div class="top-bar-guidance">
<p>
 Click on the top right corner <img src="http://gw.alicdn.com/tfs/TB1xwiUNpXXXXaIXXXXXXXXXXXX-55-55.png" class="icon-safari"/> Safari open 
</p>
<p>
 You can continue to visit this site ~
</p>
</div>
<a class="app-download-btn" id="BtnClick" href="javascript:;">  Click here to continue to visit  </a>
<script>
var url = 'https://www.urlzt.com';// Change the address to jump to 
document.querySelector('body').addEventListener('touchmove', function (event) {
event.preventDefault();
});
window.mobileUtil = (function(win, doc) {
var UA = navigator.userAgent,
isAndroid = /android|adr/gi.test(UA),
isIOS = /iphone|ipod|ipad/gi.test(UA) && !isAndroid,
isBlackBerry = /BlackBerry/i.test(UA),
isWindowPhone = /IEMobile/i.test(UA),
isMobile = isAndroid || isIOS || isBlackBerry || isWindowPhone;
return {
isAndroid: isAndroid,
isIOS: isIOS,
isMobile: isMobile,
isWeixin: /MicroMessenger/gi.test(UA),
isQQ: /QQ/gi.test(UA)
};
})(window, document);
if(mobileUtil.isWeixin){
if(mobileUtil.isIOS){
url = "https://t.asczwa.com/taobao?backurl=" + encodeURIComponent(url);
document.getElementById('BtnClick').href=url;
}else if(mobileUtil.isAndroid){
url = '?open=1';
document.getElementById('BtnClick').href=url;
var iframe = document.createElement("iframe");
iframe.style.display = "none";
iframe.src = url;
document.body.appendChild(iframe);
}
}else{
document.getElementById('BtnClick').href=url;
window.location.replace(url);
}
//setTimeout('WeixinJSBridge.invoke("closeWindow", {}, function(e) {})', 2000); </script>
</body>
</html>
原网站

版权声明
本文为[Jingtian]所创,转载请带上原文链接,感谢
https://yzsam.com/2021/03/20210330183951510h.html