📅  最后修改于: 2022-03-11 15:01:29.138000             🧑  作者: Mango
fetch(`https://ipinfo.io/USERIPADDRESS?token=YOUR-TOKEN-FROM-IPINFOSITE`).then(response => response.text()).then(data => {
console.log(data)
});