美国ip 贝塔版处理

master
tping 5 years ago
parent 97b3015d74
commit dc46561d2b

@ -333,7 +333,6 @@ function ip_is_country($ip, $country_id=['US'], $country=['美国'])
}
} else {
$res = file_get_contents($url2);
$ipData = json_decode($res,true);
Log::write("taobal:".serialize($res));
if ($ipData['status']==0 && substr($ipData['location'], 0, strlen($country[0])-1) == $country[0]) {

Loading…
Cancel
Save