mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-09-26 21:26:40 +08:00
Compare commits
No commits in common. "9f1c1ce031550e622f64426c85a7403c20426104" and "42d5500941bedf6f69f33e3a12204e10b23155df" have entirely different histories.
9f1c1ce031
...
42d5500941
@ -16,8 +16,8 @@ type ReqPageFunc interface {
|
||||
|
||||
// PageReq 分页请求
|
||||
type PageReq struct {
|
||||
Page int `json:"page" example:"10" d:"1" v:"page@min:1#页码最小值不能低于1" dc:"当前页码"`
|
||||
PerPage int `json:"pageSize" example:"1" d:"10" v:"pageSize@min:1|max:200#每页数量最小值不能低于1|每页数量最大值不能大于200" dc:"每页数量"`
|
||||
Page int `json:"page" example:"10" d:"1" v:"min:1#页码最小值不能低于1" dc:"当前页码"`
|
||||
PerPage int `json:"pageSize" example:"1" d:"10" v:"min:1|max:200#每页数量最小值不能低于1|最大值不能大于200" dc:"每页数量"`
|
||||
Pagination bool `json:"pagination" d:"true" dc:"是否需要进行分页"`
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user