From e2d88b56dd49e48a94dc0b43aa17263a3f8d37f1 Mon Sep 17 00:00:00 2001 From: Jixun Wu Date: Sun, 28 Jan 2024 03:59:17 +0000 Subject: [PATCH] fix: dynamic music id type --- algo/ncm/meta.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/algo/ncm/meta.go b/algo/ncm/meta.go index 530d23d..40bd811 100644 --- a/algo/ncm/meta.go +++ b/algo/ncm/meta.go @@ -18,7 +18,7 @@ type ncmMeta interface { type ncmMetaMusic struct { Format string `json:"format"` - MusicID int `json:"musicId"` + MusicID interface{} `json:"musicId"` // 可能是 int (旧) 也可能是 string (新) MusicName string `json:"musicName"` Artist [][]interface{} `json:"artist"` Album string `json:"album"` -- 2.45.2