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.
34 lines
556 B
34 lines
556 B
package model |
|
|
|
// rank |
|
var ( |
|
RankMonth = int64(1) |
|
RankWeek = int64(2) |
|
RankYesterday = int64(3) |
|
RankBeforeYesterday = int64(4) |
|
) |
|
|
|
// RankCategory . |
|
type RankCategory struct { |
|
ID int64 `json:"id"` |
|
Name string `json:"name"` |
|
} |
|
|
|
// Rank . |
|
type Rank struct { |
|
Aid int64 `json:"aid"` |
|
Score int64 `json:"score"` |
|
} |
|
|
|
// RankMeta . |
|
type RankMeta struct { |
|
*Meta |
|
Attention bool `json:"attention"` |
|
Score int64 `json:"score"` |
|
} |
|
|
|
// RankResp . |
|
type RankResp struct { |
|
Note string `json:"note"` |
|
List []*Rank `json:"list"` |
|
}
|
|
|