实现音频服务api

This commit is contained in:
2026-01-09 23:33:14 +08:00
parent aae6a08850
commit 0e72dc7b6a
10 changed files with 240 additions and 150 deletions

View File

@@ -42,10 +42,6 @@ func (s *LibraryService) GetSongs(id int) ([]repository.SongDetail, error) {
return s.repo.GetSongsByLibraryWithDetails(id)
}
func (s *LibraryService) GetAllSongs() ([]repository.SongDetail, error) {
return s.repo.GetAllSongsWithDetails()
}
func (s *LibraryService) GetArtists() ([]repository.Artist, error) {
return s.repo.GetArtists()
}