Initial commit

This commit is contained in:
Donny
2019-04-22 20:46:32 +08:00
commit 49ab8aadd1
25441 changed files with 4055000 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
package model
// IdxSeason is the struct of season in zone index page
type IdxSeason struct {
SeasonID int64 `json:"season_id"`
Title string `json:"title"`
Cover string `json:"cover"`
Upinfo string `json:"upinfo"`
}
// IdxData is the zone index data struct in http response
type IdxData struct {
List []*IdxSeason `json:"list"`
Pager *IdxPager `json:"pager"`
}
// IdxPager is the pager struct to return in zone index page
type IdxPager struct {
CurrentPage int `json:"current_page"`
TotalItems int `json:"total_items"`
TotalPages int `json:"total_pages"`
PageSize int `json:"page_size"`
}