mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 10:03:33 +00:00
Add song detail controller
This commit is contained in:
parent
2cefc092ce
commit
c4fb9a2e72
4 changed files with 37 additions and 3 deletions
|
|
@ -256,6 +256,15 @@ const getSongList = async (args: SongListArgs) => {
|
|||
)?.(args);
|
||||
};
|
||||
|
||||
const getSongDetail = async (args: SongDetailArgs) => {
|
||||
return (
|
||||
apiController(
|
||||
'getSongDetail',
|
||||
args.apiClientProps.server?.type,
|
||||
) as ControllerEndpoint['getSongDetail']
|
||||
)?.(args);
|
||||
};
|
||||
|
||||
const getMusicFolderList = async (args: MusicFolderListArgs) => {
|
||||
return (
|
||||
apiController(
|
||||
|
|
@ -444,6 +453,7 @@ export const controller = {
|
|||
getPlaylistDetail,
|
||||
getPlaylistList,
|
||||
getPlaylistSongList,
|
||||
getSongDetail,
|
||||
getSongList,
|
||||
getTopSongList,
|
||||
getUserList,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue