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.

33 lines
606 B

package response
type PageResult struct {
List any `json:"list"`
Total int64 `json:"total"`
Page int `json:"page"`
PageSize int `json:"pageSize"`
}
type PageTotalResult struct {
List any `json:"list"`
TotalScan any `json:"totalScan"`
Total int64 `json:"total"`
Page int `json:"page"`
PageSize int `json:"pageSize"`
}
type SelectListResult struct {
List any `json:"list"`
}
type IDResponse struct {
ID uint `json:"id"`
}
type DataResult struct {
Data any `json:"data"`
}
type Courier struct {
Name string `json:"name"`
Code string `json:"code"`
}