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.
Open-IM-Server/pkg/cms_api_struct/common.go

17 lines
472 B

3 years ago
package cms_api_struct
type RequestPagination struct {
3 years ago
PageNumber int `form:"page_number" binding:"required"`
ShowNumber int `form:"show_number" binding:"required"`
3 years ago
}
3 years ago
2 years ago
type RequestPaginationBody struct {
PageNumber int `json:"pageNumber" binding:"required"`
ShowNumber int `json:"showNumber" binding:"required"`
}
3 years ago
type ResponsePagination struct {
CurrentPage int `json:"current_number" binding:"required"`
2 years ago
ShowNumber int `json:"show_number" binding:"required"`
}