| 你访问的ip是 216.73.216.218 位置:美国  EarthLink
 
 
 http://myip.chaip.vip:9080/
 获取指定ip地理位置 默认获取访问的ip地理位置
 get请求方法:
 http://myip.chaip.vip:9080/ip?ip=1.1.1.1
 post请求:
 /tool fetch url="http://myip.chaip.vip:9080/ip" http-method=post  http-data="{\"ip\":\"8.8.8.8\"}" dst-path=i.txt>
 
 
 只接受2个参数 ip (可选) 和 character_code (可选)  character_code 参数只接受 tw 字符  post请使用json格式发送
              技术支持 : 541449269@qq.com
 
             ros脚本示例 
#2020-03-27
#author:mrli
#功能:ros查询ip地理位置
#脚本在6.x 下执行
#Version:1.1
:local UserIP "8.8.8.8"
/tool fetch url="http://myip.chaip.vip:9080/ip?ip=$UserIP"  dst-path=dizhi.txt
:local Ydizhi [/file get dizhi.txt  contents  ]
:local pick1 [find $Ydizhi "["];local pick2 [find $Ydizhi "]"]
:local location [:pick $Ydizhi ($pick1+1) ($pick2)]
:log war $location  
     |