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
+28 -12
View File
@@ -13,23 +13,26 @@ export interface ILyric {
}
export interface SongResult {
id: number;
type: number;
id: string | number;
name: string;
copywriter?: any;
picUrl: string;
canDislike: boolean;
trackNumberUpdateTime?: any;
song: Song;
alg: string;
count?: number;
playCount?: number;
song?: any;
copywriter?: string;
type?: number;
canDislike?: boolean;
program?: any;
alg?: string;
playMusicUrl?: string;
playLoading?: boolean;
ar?: Artist[];
al?: Album;
lyric?: ILyric;
backgroundColor?: string;
primaryColor?: string;
playMusicUrl?: string;
lyric?: ILyric;
bilibiliData?: {
bvid: string;
cid: number;
};
source?: 'netease' | 'bilibili';
}
export interface Song {
@@ -214,3 +217,16 @@ interface FreeTrialPrivilege {
resConsumable: boolean;
userConsumable: boolean;
}
export interface IArtists {
id: number;
name: string;
picUrl: string | null;
alias: string[];
albumSize: number;
picId: number;
fansGroup: null;
img1v1Url: string;
img1v1: number;
trans: null;
}