This commit is contained in:
Hiven 2023-07-20 14:46:13 +08:00
parent 52d47f78ac
commit f2eec528ce
2 changed files with 40 additions and 40 deletions

View File

@ -90,7 +90,7 @@ type GetUserOrderListRsp struct {
Meta Meta `json:"_meta"`
}
type StatusTimes struct {
type StatusTime struct {
Key int `json:"key"`
Time string `json:"time"`
}
@ -110,7 +110,7 @@ type Items struct {
Pcs int64 `json:"pcs"`
SurplusAt int64 `json:"surplus_at"`
LogisticsStatus int64 `json:"logistics_status"`
StatusTimes []*StatusTimes `json:"status_times"`
StatusTimes []*StatusTime `json:"status_times"`
Deposit int64 `json:"deposit"`
Remaining int64 `json:"remaining"`
ProductList []*Product `json:"productList"`

View File

@ -105,7 +105,7 @@ type (
}
)
type StatusTimes {
type StatusTime {
Key int `json:"key"`
Time string `json:"time"`
}
@ -125,7 +125,7 @@ type Items {
Pcs int64 `json:"pcs"`
SurplusAt int64 `json:"surplus_at"`
LogisticsStatus int64 `json:"logistics_status"`
StatusTimes []*StatusTimes `json:"status_times"`
StatusTimes []*StatusTime `json:"status_times"`
Deposit int64 `json:"deposit"`
Remaining int64 `json:"remaining"`
ProductList []*Product `json:"productList"`