param.go 223 B

1234567891011
  1. package model
  2. // ArgMid arg mid.
  3. type ArgMid struct {
  4. Mid int64 `form:"mid" validate:"required,min=1,gte=1"`
  5. }
  6. // ArgMids card mids arg.
  7. type ArgMids struct {
  8. Mids []int64 `form:"mids,split" validate:"min=1,max=100"`
  9. }