Update IP_API.js

This commit is contained in:
Shawn
2019-08-23 21:48:09 +08:00
committed by GitHub
parent 54cf46c5ce
commit 045d9e8731

View File

@@ -4,7 +4,7 @@ if ($response.statusCode != 200) {
const emojis= ['🆘','🈲','⚠️','🔞','📵','🚦','🏖','🖥','📺','🐧','🐬','🦉','🍄','⛳️','🚴','🤑','👽','🤖','🎃', '👺', '👁', '🐶', '🐼','🐌', '👥']
var city0 = "高谭市";
var isp0 = "Cross-GFW.INC";
var isp0 = "Cross-GFW.org";
function getRandomInt(max) {
return Math.floor(Math.random() * Math.floor(max));
}
@@ -35,5 +35,5 @@ var obj = JSON.parse(body);
var title =flags.get(obj['countryCode']) + ' '+ obj['country'];
var subtitle =''+City_ValidCheck(obj['city'])+'-'+'('+ ISP_ValidCheck(obj['org'])+')'+'';
var ip = obj['query'];
var description = '服务商:'+obj['isp'] + '\n'+'地区:' +ValidCheck(obj['regionName'])+ '\n' + 'IP:'+ obj['query'] + '\n' +'时区:'+ obj['timezone'];
var description = '服务商:'+obj['isp'] + '\n'+'地区:' +City_ValidCheck(obj['regionName'])+ '\n' + 'IP:'+ obj['query'] + '\n' +'时区:'+ obj['timezone'];
$done({title, subtitle, ip, description});