online_code/models/param/base.go

8 lines
212 B
Go
Raw Permalink Normal View History

package param
// 分页通用参数
type page struct {
Current int `json:"current" form:"current" binding:"required"` // 页码
Size int `json:"size" form:"size" binding:"required"` // 每页数量
}