Files

21 lines
536 B
Go
Raw Permalink Normal View History

2019-04-22 20:46:32 +08:00
package model
// PgcResponse is the result structure from PGC API
type PgcResponse struct {
Code int `json:"code"`
Message string `json:"message"`
Result map[string]*SeasonCard `json:"result"`
}
// SeasonCard is the result structure from PGC API
type SeasonCard struct {
NewEP *PgcNewEP `json:"new_ep"`
}
// PgcNewEP is the result from pgc return pgc new ep value
type PgcNewEP struct {
ID int `json:"id"`
IndexShow string `json:"index_show"`
Cover string `json:"cover"`
}