You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
721 B
38 lines
721 B
package model |
|
|
|
// SearchGroup . |
|
type SearchGroup struct { |
|
Order string `json:"order"` |
|
Sort string `json:"sort"` |
|
Page *Pager `json:"page"` |
|
Result []*GroupRes `json:"result"` |
|
} |
|
|
|
// GroupRes . |
|
type GroupRes struct { |
|
ID int64 `json:"id"` |
|
OID int64 `json:"oid"` |
|
} |
|
|
|
// Pager . |
|
type Pager struct { |
|
Num int64 `json:"num"` |
|
Size int64 `json:"size"` |
|
Total int64 `json:"total"` |
|
} |
|
|
|
// SearchChall . |
|
type SearchChall struct { |
|
Order string `json:"order"` |
|
Sort string `json:"sort"` |
|
Page *Pager `json:"page"` |
|
Result []*ChallRes `json:"result"` |
|
} |
|
|
|
// ChallRes . |
|
type ChallRes struct { |
|
ID int64 `json:"id"` |
|
GID int64 `json:"gid"` |
|
MID int64 `json:"mid"` |
|
OID int64 `json:"oid"` |
|
}
|
|
|