@@ -0,0 +1,14 @@
|
||||
package rewardapischema
|
||||
|
||||
type HistoryData struct {
|
||||
ItemCount int `json:"item_count"`
|
||||
Limit int `json:"limit"`
|
||||
History []any `json:"history"`
|
||||
}
|
||||
|
||||
type HistoryResp struct {
|
||||
Result HistoryData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package rewardapischema
|
||||
|
||||
type ListData struct {
|
||||
ItemCount int `json:"item_count"`
|
||||
Limit int `json:"limit"`
|
||||
Order int `json:"order"`
|
||||
Items []any `json:"items"`
|
||||
}
|
||||
|
||||
type ListResp struct {
|
||||
Result ListData `json:"result"`
|
||||
Status int `json:"status"`
|
||||
CommandNum bool `json:"commandNum"`
|
||||
TimeStamp int64 `json:"timeStamp"`
|
||||
}
|
||||
Reference in New Issue
Block a user