//获取外网IP

import console; 
console.showLoading("获取外网IP");

import web.rest.client;
var http = web.rest.client();
var myIp = http.api("http://myip.ipip.net",,"(\d+\.\d+\.\d+\.\d+)");
console.log( myIp.get() );

console.pause(true);
