Implement present box

Signed-off-by: Sean Du <do4suki@gmail.com>
This commit is contained in:
2026-06-05 06:53:48 +08:00
parent a7ec1f1b7b
commit c4f1686abb
16 changed files with 227 additions and 2 deletions
+13
View File
@@ -0,0 +1,13 @@
package rewardschema
type HistoryData struct {
ItemCount int `json:"item_count"`
Limit int `json:"limit"`
History []any `json:"history"`
}
type HistoryResp struct {
ResponseData HistoryData `json:"response_data"`
ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"`
}
+14
View File
@@ -0,0 +1,14 @@
package rewardschema
type ListData struct {
ItemCount int `json:"item_count"`
Limit int `json:"limit"`
Order int `json:"order"`
Items []any `json:"items"`
}
type ListResp struct {
ResponseData ListData `json:"response_data"`
ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"`
}
+7
View File
@@ -0,0 +1,7 @@
package rewardschema
type SellUnitResp struct {
ResponseData any `json:"response_data"`
ReleaseInfo []any `json:"release_info"`
StatusCode int `json:"status_code"`
}