params.go 466 B

12345678910111213141516171819202122
  1. package model
  2. // SourceSearch params
  3. type SourceSearch struct {
  4. Type string `form:"type"`
  5. Keyword string `form:"keyword"`
  6. PageSize int `form:"pageSize"`
  7. PageNum int `form:"pageNum"`
  8. }
  9. // Search params
  10. type Search struct {
  11. SeasonID int64 `form:"season_id"`
  12. ItemsID int64 `form:"items_id"`
  13. }
  14. // MatchOperate params
  15. type MatchOperate struct {
  16. OpType int8 `form:"op_type"`
  17. SeasonID int64 `form:"season_id"`
  18. ItemsID int64 `form:"items_id"`
  19. }