Update IP_API.js

This commit is contained in:
Shawn
2019-07-22 10:55:53 +08:00
committed by GitHub
parent 1701e1fae3
commit b8620f1865

View File

@@ -23,7 +23,7 @@ var body = $response.body;
var obj = JSON.parse(body);
//$notify("TEST","test",bd);
var title =flags.get(obj['countryCode']) + ' '+ obj['country'];
var subtitle =''+ValidCheck(obj['city'])+'-'+'('+ValidCheck(obj['isp'])+')'+'';
var subtitle =''+ValidCheck(obj['city'])+'-'+'('+ ValidCheck(obj['isp'])+')'+'';
var ip = obj['ip'];
var description = obj['org'] + '-' +ValidCheck(obj['regionName'])+ '\n' + obj['query'] + '\n' + obj['timezone'];
$done({title, subtitle, ip, description});