pgc_cards.go 536 B

1234567891011121314151617181920
  1. package model
  2. // PgcResponse is the result structure from PGC API
  3. type PgcResponse struct {
  4. Code int `json:"code"`
  5. Message string `json:"message"`
  6. Result map[string]*SeasonCard `json:"result"`
  7. }
  8. // SeasonCard is the result structure from PGC API
  9. type SeasonCard struct {
  10. NewEP *PgcNewEP `json:"new_ep"`
  11. }
  12. // PgcNewEP is the result from pgc return pgc new ep value
  13. type PgcNewEP struct {
  14. ID int `json:"id"`
  15. IndexShow string `json:"index_show"`
  16. Cover string `json:"cover"`
  17. }