如何自动判断域名是否被微信拦截 被微信屏蔽的域名网址如何正常打开使用

网站域名被微信封杀拦截怎么解决?如何防止微信封域名?点击域名在微信上提示 三种常见情况:
1、已停止访问该页面。据用户投诉及腾讯手机管家云网址检测,该网页可能包含恶意欺诈内容。
2、已停止访问该网页。网页包含诱导分享、诱导关注内容,被多人投诉,为维护绿色上网环境,已停止访问。
3、已停止访问该网页。网页包含s情内容,被多人投诉,为维护绿色上网环境,已停止访问。

php
<?php
// 您的 API Token,在用户中心可查询到
$apiToken = "********************************";
// 需要检测的地址或域名
$reqUrl = "www.qq.com";
$url = sprintf("https://wx.horocn.com/api/v1/wxUrlCheck?api_token=%s&req_url=%s", $apiToken, $reqUrl);
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
$responseBody = curl_exec($ch);
$responseArr = json_decode($responseBody, true);
if (json_last_error() != JSON_ERROR_NONE) {
    echo "JSON 解析接口结果出错\n";
    return;
}
if (isset($responseArr['code']) && $responseArr['code'] == 0) {
    // 接口正确返回
    // $responseArr['data']['status'] 的取值范围:ok、blocked
    // ok 表示正常、blocked 表示被封
    printf("测试地址(%s)的状态为:%s\n", $reqUrl, $responseArr['data']['status']);
} else {
    printf("接口异常:%s\n", var_export($responseArr, true));
}

详情:wx.horocn.com