【修改分页当前页参数映射】
This commit is contained in:
parent
5a7e2cb280
commit
c4fb263d2f
|
@ -24,7 +24,7 @@ type OrderItem struct {
|
|||
|
||||
type PageQueryDto struct {
|
||||
// 页码
|
||||
Page int `form:"page" json:"page" binding:"required" example:"1"`
|
||||
Page int `form:"current" json:"page" binding:"required" example:"1"`
|
||||
// 页面行数
|
||||
Size int `form:"size" json:"size" binding:"required" example:"10"`
|
||||
// 排序项
|
||||
|
|
Loading…
Reference in New Issue