community_video.go 954 B

123456789101112131415161718192021222324252627282930
  1. package request
  2. type CommunityVideoSaveReq struct {
  3. VideoId int `description:"视频ID"`
  4. Title string `description:"视频标题"`
  5. VarietyTagId int `description:"标签ID"`
  6. CoverImgUrl string `description:"封面图地址"`
  7. VideoUrl string `description:"视频地址"`
  8. VideoSeconds string `description:"视频时长,单位秒"`
  9. }
  10. type CommunityVideoOptionReq struct {
  11. VideoId int `description:"问题ID"`
  12. }
  13. type CommunityVideoPublishReq struct {
  14. VideoId int `description:"问题ID"`
  15. PublishState int `description:"发布状态:0-未发布 1-已发布"`
  16. }
  17. type CommunityVideoCoverSaveReq struct {
  18. CoverId int `description:"封面ID"`
  19. CoverName string `description:"封面名称"`
  20. CoverUrl string `description:"封面图地址"`
  21. Type int8 `description:"封面类型(1 视频社区,2 路演视频)"`
  22. }
  23. type CommunityVideoCoverOptionReq struct {
  24. CoverId int `description:"封面图ID"`
  25. }