feat: 更新网易云音乐 API 版本,添加 B站视频搜索功能和播放器组件

This commit is contained in:
alger
2025-03-29 23:19:51 +08:00
parent c5e50c9fd5
commit 280fec1990
12 changed files with 1630 additions and 125 deletions
+13
View File
@@ -45,6 +45,10 @@ export const SEARCH_TYPES = [
{
label: 'MV',
key: 1004
},
{
label: 'B站',
key: 2000
}
// {
// label: '歌词',
@@ -63,3 +67,12 @@ export const SEARCH_TYPES = [
// key: 1018,
// },
];
export const SEARCH_TYPE = {
MUSIC: 1, // 单曲
ALBUM: 10, // 专辑
ARTIST: 100, // 歌手
PLAYLIST: 1000, // 歌单
MV: 1004, // MV
BILIBILI: 2000 // B站视频
} as const;