community_video.go 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. package response
  2. import (
  3. "github.com/rdlucklib/rdluck_tools/paging"
  4. )
  5. type CommunityVideoListResp struct {
  6. Paging *paging.PagingItem
  7. List []*CommunityVideoItem `description:"列表数据"`
  8. }
  9. type CommunityVideoItem struct {
  10. CommunityVideoId int `description:"问题ID"`
  11. Title string `description:"视频标题"`
  12. VarietyTagId int `description:"标签ID"`
  13. VarietyTagName string `description:"标签名称"`
  14. CoverImgUrl string `description:"封面图地址"`
  15. VideoUrl string `description:"视频地址"`
  16. VideoSeconds string `description:"视频时长,单位秒"`
  17. PublishState int `description:"发布状态:0-待发布 1-已发布"`
  18. SendThsState int `description:"客群消息推送状态:0-待推送 1-已推送"`
  19. SendTemplateState int `description:"模板消息推送状态:0-待推送 1-已推送"`
  20. CreateTime string `description:"提问时间"`
  21. ModifyTime string `description:"修改时间"`
  22. ClickNum int `description:"点击量"`
  23. }
  24. type VideoPlayLogListItem struct {
  25. UserId int
  26. SourceAgent int
  27. //LastCreateTime string
  28. //ClickNum int `description:"点击量"`
  29. RealName string
  30. CompanyName string
  31. CompanyStatus string
  32. CompanyId int
  33. CreateTime string
  34. StopSeconds int
  35. }
  36. type VideoPlayLogListResp struct {
  37. Paging *paging.PagingItem
  38. List []*VideoPlayLogListItem `description:"列表数据"`
  39. Count int
  40. Title string `description:"视频标题"`
  41. }
  42. type CommunityVideoCoverListResp struct {
  43. Paging *paging.PagingItem
  44. List []*CommunityVideoCoverItem `description:"列表数据"`
  45. }
  46. type CommunityVideoCoverItem struct {
  47. CommunityVideoCoverId int `description:"封面ID"`
  48. CoverName string `description:"封面名称"`
  49. CoverUrl string `description:"封面图地址"`
  50. CreateTime string `description:"提问时间"`
  51. ModifyTime string `description:"修改时间"`
  52. Type int8 `description:"封面类型(1 视频社区,2 路演视频)"`
  53. }