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.
15 lines
474 B
15 lines
474 B
package v1
|
|
|
|
// PageReq 公共请求参数
|
|
type PageReq struct {
|
|
DateRange []string `p:"date_range"` //日期范围
|
|
PageNum int `p:"page_num" v:"min:0#分页号码错误"` //当前页码
|
|
PageSize int `p:"page_size" v:"max:50#分页数量最大50条"` //每页数
|
|
OrderBy string //排序方式
|
|
}
|
|
|
|
// ListRes 列表公共返回
|
|
type ListRes struct {
|
|
CurrentPage int `json:"current_page"`
|
|
Total int `json:"total"`
|
|
}
|
|
|