Convert from ip to geo location. 根据IP地址查询所在的地理位置。
Support ipv4 (纯真网络 ipv4地址库) and ipv6 (ZX IPv6地址库).
Support json and xml format
纯真网络下载地址:https://99wry.cf/qqwry.dat ZX下载地址:https://ip.zxinc.org/ip.7z
使用方法:/geo?ip={ip}&type={json|xml}&encoding={gbk|utf-8} 如果解析北邮内网地址则添加&pos=1