实现音频服务api
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user