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.
18 lines
388 B
18 lines
388 B
package model |
|
|
|
// Pager pager |
|
type Pager struct { |
|
Pn int `json:"num"` |
|
Ps int `json:"size"` |
|
Sum int64 `json:"total"` |
|
} |
|
|
|
// ListParser list parser |
|
type ListParser struct { |
|
Unames string `form:"uname"` |
|
Bt string `form:"bt"` |
|
Et string `form:"et"` |
|
Sort string `form:"sort" default:"desc"` |
|
Ps int64 `form:"ps" default:"20"` |
|
Pn int64 `form:"pn" default:"1"` |
|
}
|
|
|