|
@@ -20,6 +20,7 @@ type ItemQuery struct {
|
|
|
RegionId int64 `json:"regionId"`
|
|
RegionId int64 `json:"regionId"`
|
|
|
Tags []string `json:"tags"`
|
|
Tags []string `json:"tags"`
|
|
|
Type string `json:"type"`
|
|
Type string `json:"type"`
|
|
|
|
|
+ Sort string `json:"sort"`
|
|
|
|
|
|
|
|
Limit int64 `json:"limit"`
|
|
Limit int64 `json:"limit"`
|
|
|
}
|
|
}
|
|
@@ -63,6 +64,7 @@ type Item struct {
|
|
|
PrevState string `json:"prevState"`
|
|
PrevState string `json:"prevState"`
|
|
|
NewState string `json:"newState"`
|
|
NewState string `json:"newState"`
|
|
|
Epoch int64 `json:"epoch"`
|
|
Epoch int64 `json:"epoch"`
|
|
|
|
|
+ Created int64 `json:"created"`
|
|
|
Tags []string `json:"tags"`
|
|
Tags []string `json:"tags"`
|
|
|
Data *simplejson.Json `json:"data"`
|
|
Data *simplejson.Json `json:"data"`
|
|
|
|
|
|
|
@@ -80,6 +82,7 @@ type ItemDTO struct {
|
|
|
UserId int64 `json:"userId"`
|
|
UserId int64 `json:"userId"`
|
|
|
NewState string `json:"newState"`
|
|
NewState string `json:"newState"`
|
|
|
PrevState string `json:"prevState"`
|
|
PrevState string `json:"prevState"`
|
|
|
|
|
+ Created int64 `json:"created"`
|
|
|
Time int64 `json:"time"`
|
|
Time int64 `json:"time"`
|
|
|
Text string `json:"text"`
|
|
Text string `json:"text"`
|
|
|
RegionId int64 `json:"regionId"`
|
|
RegionId int64 `json:"regionId"`
|