Update and rename IPInf.js to IPInfo.js

This commit is contained in:
Shawn
2019-07-17 09:47:29 +08:00
committed by GitHub
parent d7d73ade5f
commit 17f5cf5d78

View File

@@ -22,7 +22,7 @@ var body = $response.body;
var bd=body.split('\n')[1];
var obj = JSON.parse(bd);
//$notify("TEST","test",bd);
var title =obj.location.captial;
var title =obj.latitude;
//flags.get(obj['country_code']) + ' '+ obj['country_name'];
var subtitle =''+ValidCheck(obj['city'])+'-'+'('+ValidCheck(obj['continent_name'])+')'+'';
var ip = obj['ip'];