params.go 469 B

12345678910111213141516171819202122
  1. package history
  2. import "Wine-Server/utils/tables"
  3. type queryWorkerParam struct {
  4. Cond string `json:"cond"`
  5. Page int `json:"page"`
  6. Limit int `json:"limit"`
  7. }
  8. type queryOrderParam struct {
  9. Worker string `json:"worker"`
  10. Cond string `json:"cond"`
  11. Deal int `json:"deal"`
  12. Page int `json:"page"`
  13. Limit int `json:"limit"`
  14. }
  15. type updateParam struct {
  16. Id uint32 `json:"id"`
  17. New [4]tables.WineWithIdRemain `json:"new"`
  18. }