Update and rename IPInfo1.js to IPInfo.js

This commit is contained in:
Shawn
2019-07-17 08:57:38 +08:00
committed by GitHub
parent 7707f8028d
commit ac85e0974a

View File

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