From d68f9c0e89e3c007713d5fc00f77da0bd0a2201a Mon Sep 17 00:00:00 2001 From: lixiangwuxian Date: Sat, 8 Mar 2025 20:37:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=9D=E5=A7=8B=E5=8C=96=20BeatLeader?= =?UTF-8?q?=20=E5=92=8C=20ScoreSaber=20=E6=AD=8C=E6=9B=B2=E5=93=88?= =?UTF-8?q?=E5=B8=8C=E6=98=A0=E5=B0=84=EF=BC=8C=E9=98=B2=E6=AD=A2=E7=A9=BA?= =?UTF-8?q?=E6=8C=87=E9=92=88=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/beatleader/bind_bl.go | 1 + service/scoresaber/bind_ss.go | 1 + 2 files changed, 2 insertions(+) diff --git a/service/beatleader/bind_bl.go b/service/beatleader/bind_bl.go index 47926c9..b2b86c0 100644 --- a/service/beatleader/bind_bl.go +++ b/service/beatleader/bind_bl.go @@ -369,6 +369,7 @@ func (bl *blQuery) GetRecentScores(count int, qqId string) ([]RecordDataLite, er func GetSongIdsByHash(hashs []string) (hashToSongId map[string]string, err error) { //每批最多49个 + hashToSongId = make(map[string]string) batchSize := 49 for i := 0; i < len(hashs); i += batchSize { end := i + batchSize diff --git a/service/scoresaber/bind_ss.go b/service/scoresaber/bind_ss.go index 227b6e0..2b7a018 100644 --- a/service/scoresaber/bind_ss.go +++ b/service/scoresaber/bind_ss.go @@ -397,6 +397,7 @@ func (ss *ssQuery) GetRecentScores(count int, qqId string) ([]RecordDataLite, er func GetSongIdsByHash(hashs []string) (hashToSongId map[string]string, err error) { //每批最多49个 + hashToSongId = make(map[string]string) batchSize := 49 for i := 0; i < len(hashs); i += batchSize { end := i + batchSize