common.go 368 B

12345678910111213141516
  1. package response
  2. type PageResult struct {
  3. List interface{} `json:"list"`
  4. Total int64 `json:"total"`
  5. Page int `json:"page"`
  6. PageSize int `json:"pageSize"`
  7. }
  8. type ControlResult struct {
  9. Code int `json:"code"`
  10. Message string `json:"message"`
  11. Date string `json:"date"`
  12. Data interface{} `json:"data"`
  13. }