bnj.go 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. package view
  2. import (
  3. "go-common/app/interface/main/app-view/model/elec"
  4. "go-common/app/service/main/archive/model/archive"
  5. xtime "go-common/library/time"
  6. )
  7. // BnjMain is
  8. type BnjMain struct {
  9. *archive.Archive3
  10. // now user
  11. ReqUser *ReqUser `json:"req_user,omitempty"`
  12. Pages []*Page `json:"pages,omitempty"`
  13. Elec *elec.Info `json:"elec,omitempty"`
  14. Relates []*BnjItem `json:"relates"`
  15. // player_icon
  16. PlayerIcon *PlayerIcon `json:"player_icon,omitempty"`
  17. ElecBigText string `json:"elec_big_text"`
  18. ElecSmallText string `json:"elec_small_text"`
  19. }
  20. // BnjList is
  21. type BnjList struct {
  22. Item []*BnjItem `json:"list"`
  23. }
  24. // BnjItem is
  25. type BnjItem struct {
  26. Aid int64 `json:"aid"`
  27. Cid int64 `json:"cid"`
  28. Tid int32 `json:"tid"`
  29. Pic string `json:"pic"`
  30. Copyright int32 `json:"copyright"`
  31. PubDate xtime.Time `json:"pubdate"`
  32. IsAd int `json:"is_ad"`
  33. Title string `json:"title"`
  34. Desc string `json:"desc,omitempty"`
  35. Stat archive.Stat3 `json:"stat,omitempty"`
  36. Duration int64 `json:"duration,omitempty"`
  37. Author archive.Author3 `json:"owner,omitempty"`
  38. Dimension archive.Dimension `json:"dimension,omitempty"`
  39. ReqUser *ReqUser `json:"req_user,omitempty"`
  40. Pages []*Page `json:"pages,omitempty"`
  41. Rights archive.Rights3 `json:"rights"`
  42. }