feat: add proxy geo location

This commit is contained in:
LLLLLLiulei
2026-01-15 14:46:31 +08:00
parent 47eb3c8888
commit 3a100339b9
12 changed files with 151 additions and 44 deletions

View File

@@ -126,6 +126,7 @@ export async function testProxy(id: number): Promise<{
city?: string
region?: string
country?: string
country_code?: string
}> {
const { data } = await apiClient.post<{
success: boolean
@@ -135,6 +136,7 @@ export async function testProxy(id: number): Promise<{
city?: string
region?: string
country?: string
country_code?: string
}>(`/admin/proxies/${id}/test`)
return data
}