mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2025-03-01 12:29:40 +08:00
24 lines
380 B
TypeScript
24 lines
380 B
TypeScript
![]() |
export enum AlbumApiNames {
|
||
|
FETCH_ALBUM = '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
|
||
|
}
|