📅  最后修改于: 2022-03-11 15:03:49.902000             🧑  作者: Mango
async function getCurrencySymbol() {
const response = await fetch("http://www.geoplugin.net/json.gp");
const data = await response.json();
return data.geoplugin_currencySymbol;
}
const currency = await getCurrencySymbol();