recommend.go 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. package model
  2. // ResponseRecom is the result structure from PGC API
  3. type ResponseRecom struct {
  4. Code int `json:"code"`
  5. Message string `json:"message"`
  6. Result *ResultRecom `json:"result"`
  7. }
  8. // ResultRecom def.
  9. type ResultRecom struct {
  10. SeasonID int `json:"season_id"`
  11. From int `json:"from"`
  12. Title string `json:"title"`
  13. List []*Recom `json:"list"`
  14. }
  15. // Recom def.
  16. type Recom struct {
  17. Cover string `json:"cover"`
  18. FollowCount int `json:"follow_count"`
  19. IsFinish int `json:"is_finish"`
  20. IsStarted int `json:"is_started"`
  21. NewestEPCover string `json:"newest_ep_cover"`
  22. NewestEPIndex string `json:"newest_ep_index"`
  23. SeasonID int64 `json:"season_id"`
  24. SeasonStatus int `json:"season_status"`
  25. SeasonType int `json:"season_type"`
  26. SeasonTypeName string `json:"season_type_name"`
  27. Title string `json:"title"`
  28. TotalCount int `json:"total_count"`
  29. CornerMark *SnVipCorner `json:"cornermark"`
  30. }