feat: add proxy geo location

This commit is contained in:
LLLLLLiulei
2026-01-15 15:15:20 +08:00
parent 87b4662993
commit aab44f9fc8
13 changed files with 154 additions and 45 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
}