1234567891011121314151617181920212223242526272829303132333435363738394041 |
- package request
- import "mime/multipart"
- type BroadcastListReq struct {
- PageIndex int `json:"page_index" form:"page_index"`
- PageSize int `json:"page_size" form:"page_size"`
- BroadcastId int `json:"broadcast_id" form:"broadcast_id"`
- SectionId int `json:"section_id" form:"section_id"`
- }
- type AddBroadcastReq struct {
- BroadcastName string `json:"broadcast_name" `
- SectionId int `json:"section_id" `
- SectionName string `json:"section_name"`
- VarietyId int `json:"variety_id"`
- VarietyName string `json:"variety_name"`
- AuthorId int `json:"author_id"`
- Author string `json:"author"`
- File *multipart.FileHeader `json:"file"`
- }
- //type AddBroadcastReq struct {
- // BroadcastName string `json:"page_index" `
- // SectionId int `json:"section_id" `
- // SectionName string `json:"section_name"`
- // VarietyId int `json:"variety_id"`
- // VarietyName string `json:"variety_name"`
- // AuthorId int `json:"author_id"`
- // Author string `json:"author"`
- // VoiceUrl string `json:"voice_url"`
- // VoicePlaySeconds string `json:"voice_play_seconds"`
- // VoiceSize string `json:"voice_size"`
- // CreateTime string `json:"create_time" `
- //}
- type AddBroadcastStatisticsReq struct {
- UserId int `json:"user_id" `
- Source int `json:"source" `
- BroadcastId int `json:"broadcast_id" `
- }
|