This commit is contained in:
jxxghp
2025-07-30 21:06:55 +08:00
parent ae4f03e272
commit 71f7bc7b1b
12 changed files with 13 additions and 14 deletions

View File

@@ -43,7 +43,7 @@ class WebUtils:
return r.json().get("data", {}).get("location") or ''
except Exception as err:
print(str(err))
return ""
return ""
@staticmethod
def get_location2(ip: str):
@@ -68,4 +68,4 @@ class WebUtils:
return r.json().get("addr") or ''
except Exception as err:
print(str(err))
return ""
return ""