voice_broadcast.go 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. package response
  2. // BroadcastListResp 语音播报列表resp
  3. type BroadcastListResp struct {
  4. List []Broadcast
  5. IsVoiceAdmin bool `description:"是否为语音管理员"`
  6. }
  7. type Broadcast struct {
  8. BroadcastId int `description:"语音ID"`
  9. BroadcastName string `description:"语音名称"`
  10. SectionId int `description:"语音分类ID"`
  11. SectionName string `description:"语音分类名称"`
  12. VarietyId int `description:"品种id"`
  13. VarietyName string `description:"品种名称"`
  14. AuthorId int `description:"作者id"`
  15. Author string `description:"作者"`
  16. ImgUrl string `description:"背景图url"`
  17. VoiceUrl string `description:"音频url"`
  18. VoicePlaySeconds string `description:"音频时长"`
  19. VoiceSize string `description:"音频大小"`
  20. CreateTime string `description:"创建时间"`
  21. IsAuthor bool `description:"是否为作者"`
  22. }
  23. //type SectionListResp struct {
  24. // List []VarietyList
  25. //}
  26. type VarietyList struct {
  27. VarietyId int
  28. VarietyName string
  29. Children []SectionList
  30. }
  31. type SectionList struct {
  32. ImgUrl string
  33. SectionId int
  34. SectionName string
  35. Status int
  36. }