params.go 414 B

1234567891011121314151617
  1. package change
  2. import "Wine-Server/utils/tables"
  3. type queryParam struct {
  4. Cond string `json:"cond"`
  5. Deal int `json:"deal"`
  6. Page int `json:"page"`
  7. Limit int `json:"limit"`
  8. }
  9. type assignParam struct {
  10. Id uint32 `json:"id"`
  11. Worker string `json:"worker"`
  12. Old [4]tables.WineWithIdRemain `json:"old"`
  13. New [4]tables.WineWithIdRemain `json:"new"`
  14. }