From 20c615070f384dbd3bd1b922dc99887568b10b54 Mon Sep 17 00:00:00 2001 From: lixiangwuxian Date: Wed, 2 Apr 2025 00:17:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=20FetchCountryLeaderb?= =?UTF-8?q?oard=20=E5=87=BD=E6=95=B0=E4=B8=AD=E7=9A=84=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E8=AE=A1=E7=AE=97=E9=80=BB=E8=BE=91=EF=BC=8C=E7=A1=AE=E4=BF=9D?= =?UTF-8?q?=E6=AD=A3=E7=A1=AE=E8=AE=A1=E7=AE=97=E9=A1=B5=E9=9D=A2=E7=BC=96?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/scoresaber/user_info.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/scoresaber/user_info.go b/service/scoresaber/user_info.go index e78235a..202bf26 100644 --- a/service/scoresaber/user_info.go +++ b/service/scoresaber/user_info.go @@ -143,7 +143,7 @@ func FetchCountryLeaderboard(country string, offset int, ssID string) (Leaderboa if offset < 0 { offset = 0 } - page := offset/50 + 1 + page := offset / 50 url := fmt.Sprintf("https://scoresaber.com/api/players?countries=%s&page=%d", country, page) // 创建请求