You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
743 B
24 lines
743 B
package model |
|
|
|
import "go-common/app/service/main/favorite/model" |
|
|
|
// FavNav fav nav struct. |
|
type FavNav struct { |
|
Archive []*model.VideoFolder `json:"archive"` |
|
Playlist int `json:"playlist"` |
|
Topic int `json:"topic"` |
|
Article int `json:"article"` |
|
Album int `json:"album"` |
|
Movie int `json:"movie"` |
|
} |
|
|
|
// FavArcArg . |
|
type FavArcArg struct { |
|
Vmid int64 `form:"vmid" validate:"min=1"` |
|
Fid int64 `form:"fid" validate:"min=-1"` |
|
Tid int64 `form:"tid"` |
|
Keyword string `form:"keyword"` |
|
Order string `form:"order"` |
|
Pn int `form:"pn" default:"1" validate:"min=1"` |
|
Ps int `form:"ps" default:"30" validate:"min=1"` |
|
}
|
|
|