up_info.go 394 B

123456789101112131415161718
  1. package model
  2. // UpInfoActiveReq req
  3. type UpInfoActiveReq struct {
  4. Mid int64 `form:"mid" validate:"required"`
  5. }
  6. // UpsInfoActiveReq req
  7. type UpsInfoActiveReq struct {
  8. Mids []int64 `form:"mids,split" validate:"required,dive,gt=0"`
  9. }
  10. // UpInfoActiveReply Reply
  11. type UpInfoActiveReply struct {
  12. ID int64 `json:"id"`
  13. MID int64 `json:"mid"`
  14. ActiveTid int16 `json:"active_tid"`
  15. }