videoup.go 998 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. package model
  2. const (
  3. // RouteSecondRound 稿件二审消息
  4. RouteSecondRound = "second_round"
  5. // RouteAutoOpen = 稿件自动开放浏览
  6. RouteAutoOpen = "auto_open"
  7. // RouteForceSync 稿件强制同步
  8. RouteForceSync = "force_sync"
  9. // RouteDelayOpen 稿件定时开放浏览
  10. RouteDelayOpen = "delay_open"
  11. // VideoStatusOpen 视频开放浏览
  12. VideoStatusOpen = int32(0)
  13. //VideoXcodeHDFinish 高清转码完成
  14. VideoXcodeHDFinish = int32(4)
  15. //VideoXcodeFinish 视频转码
  16. VideoXcodeFinish = int32(2)
  17. )
  18. // VideoupMsg second round msg from VideoupBvc.
  19. type VideoupMsg struct {
  20. Route string `json:"route"`
  21. Aid int64 `json:"aid"`
  22. }
  23. // Archive archive info.
  24. type Archive struct {
  25. Aid int64 `json:"aid"`
  26. Mid int64 `json:"mid"`
  27. }
  28. // Video video info.
  29. type Video struct {
  30. Aid int64 `json:"aid"`
  31. Cid int64 `json:"cid"`
  32. Mid int64 `json:"mid"`
  33. Duration int64 `json:"duration"`
  34. Status int32 `json:"status"`
  35. XCodeState int32 `json:"xcode_state"`
  36. }