mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2025-02-28 21:01:11 +08:00
24 lines
379 B
TypeScript
24 lines
379 B
TypeScript
export enum AlbumApiNames {
|
|
FetchAlbum = 'fetchAlbum',
|
|
}
|
|
|
|
// 专辑详情
|
|
export interface FetchAlbumParams {
|
|
id: number
|
|
}
|
|
export interface FetchAlbumResponse {
|
|
code: number
|
|
resourceState: boolean
|
|
album: Album
|
|
songs: Track[]
|
|
description: string
|
|
}
|
|
|
|
export interface LikeAAlbumParams {
|
|
t: 1 | 2
|
|
id: number
|
|
}
|
|
export interface LikeAAlbumResponse {
|
|
code: number
|
|
}
|