From 03974bb9841f2f44f1704b3e3a17943c0a268163 Mon Sep 17 00:00:00 2001 From: df123 Date: Sun, 10 May 2026 16:34:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20IP=20=E5=9C=B0?= =?UTF-8?q?=E7=90=86=E4=BF=A1=E6=81=AF=E6=9F=A5=E8=AF=A2=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E4=B8=8D=E5=8C=B9=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 前端将 IP 数组包装在对象中发送,后端期望纯数组,导致 400 --- client/src/api/aria2.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/api/aria2.ts b/client/src/api/aria2.ts index 7ae13b4..09bbc06 100644 --- a/client/src/api/aria2.ts +++ b/client/src/api/aria2.ts @@ -215,7 +215,7 @@ class Aria2Api { */ async getIpGeolocation(ips: string[]): Promise { return http.post(`${this.manageUrl}/ip-geolocation`, { - data: { Ips: ips } + data: ips }); } }