12345678910111213141516171819202122232425262728293031323334353637383940 |
- package response
- // BroadcastListResp 语音播报列表resp
- type BroadcastListResp struct {
- List []Broadcast
- IsVoiceAdmin bool `description:"是否为语音管理员"`
- }
- type Broadcast struct {
- BroadcastId int `description:"语音ID"`
- BroadcastName string `description:"语音名称"`
- SectionId int `description:"语音分类ID"`
- SectionName string `description:"语音分类名称"`
- VarietyId int `description:"品种id"`
- VarietyName string `description:"品种名称"`
- AuthorId int `description:"作者id"`
- Author string `description:"作者"`
- ImgUrl string `description:"背景图url"`
- VoiceUrl string `description:"音频url"`
- VoicePlaySeconds string `description:"音频时长"`
- VoiceSize string `description:"音频大小"`
- CreateTime string `description:"创建时间"`
- IsAuthor bool `description:"是否为作者"`
- CouldSendMsg bool `description:"是否可推送消息"`
- }
- //type SectionListResp struct {
- // List []VarietyList
- //}
- type VarietyList struct {
- VarietyId int
- VarietyName string
- Children []SectionList
- }
- type SectionList struct {
- ImgUrl string
- SectionId int
- SectionName string
- Status int
- }
|