mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-18 06:07:48 +00:00
feat: add similar artists to artist page
This commit is contained in:
parent
487dac4f16
commit
cef149e68c
3 changed files with 48 additions and 5 deletions
|
|
@ -89,3 +89,17 @@ export function followAArtist(params) {
|
|||
params,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 相似歌手
|
||||
* 说明 : 调用此接口 , 传入歌手 id, 可获得相似歌手
|
||||
* - id: 歌手 id
|
||||
* @param {number} id
|
||||
*/
|
||||
export function similarArtists(id) {
|
||||
return request({
|
||||
url: "/simi/artist",
|
||||
method: "post",
|
||||
params: { id },
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue