IP地址获取接口:
$res = file_get_contents("http://ip.360.cn/IPQuery/ipquery?ip=" . $ip);
    $res = json_decode($res, 1);
    if ($res && $res['errno'] == 0) {
        return explode("\t", $res['data'])[0];
    } else {
        return '';
    }

http://members.3322.org/dyndns/getip

http://pv.sohu.com/cityjson?ie=utf-8

http://icanhazip.com