fetch('https://ipinfo.io/json')
.then(response => response.json())
.then(data => {
console.log('ip归属地:', data);
})
.catch(error => {
console.error('获取ip归属地失败:', error);
});免费本机外网IP地址查询网站
fetch('https://ipinfo.io/json') .then(response => response.json()) .then(data => { console.log('ip归属地:', data); }) .catch(error => { console.error('获取i…
最后更新于 2024.03.12
评论 0
友善交流,让讨论变得更有价值。