mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 21:58:03 +00:00
feat: updates
This commit is contained in:
parent
f340a90117
commit
cec4c5909d
50 changed files with 1304 additions and 207 deletions
|
|
@ -4,6 +4,8 @@ import {
|
|||
FetchArtistResponse,
|
||||
FetchArtistAlbumsParams,
|
||||
FetchArtistAlbumsResponse,
|
||||
FetchSimilarArtistsParams,
|
||||
FetchSimilarArtistsResponse,
|
||||
} from '@/shared/api/Artist'
|
||||
|
||||
// 歌手详情
|
||||
|
|
@ -30,3 +32,13 @@ export function fetchArtistAlbums(
|
|||
params,
|
||||
})
|
||||
}
|
||||
|
||||
export function fetchSimilarArtists(
|
||||
params: FetchSimilarArtistsParams
|
||||
): Promise<FetchSimilarArtistsResponse> {
|
||||
return request({
|
||||
url: 'simi/artist',
|
||||
method: 'get',
|
||||
params,
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue