丰富艺术家和专辑接口
All checks were successful
Go CI / test-and-build (push) Successful in 11s

This commit is contained in:
2026-04-07 17:29:14 +08:00
parent 9aec254f23
commit 064ea6c674
5 changed files with 213 additions and 4 deletions

View File

@@ -10,3 +10,17 @@ type SongDetail struct {
Duration int `json:"duration"`
Path string `json:"path"`
}
type ArtistDetail struct {
ID int `json:"id"`
Name string `json:"name"`
Songs []int `json:"songs"`
Albums []int `json:"albums"`
}
type AlbumDetail struct {
ID int `json:"id"`
Title string `json:"title"`
Artist int `json:"artist"`
Songs []int `json:"songs"`
}