common.go 256 B

123456789101112
  1. package request
  2. // Paging common input parameter structure
  3. type PageInfo struct {
  4. Page int `json:"page" form:"page"`
  5. PageSize int `json:"pageSize" form:"pageSize"`
  6. }
  7. // Find by id structure
  8. type GetById struct {
  9. Id float64 `json:"id" form:"id"`
  10. }