商品管理ui优化, 后台支持分页参数
This commit is contained in:
@@ -54,6 +54,15 @@ type AdminListQuery struct {
|
||||
Status string
|
||||
ReviewStatus string
|
||||
Limit int
|
||||
Page int
|
||||
PageSize int
|
||||
}
|
||||
|
||||
type AdminListResult struct {
|
||||
Items []ListingDTO `json:"items"`
|
||||
Total int64 `json:"total"`
|
||||
Page int `json:"page"`
|
||||
PageSize int `json:"page_size"`
|
||||
}
|
||||
|
||||
type AdminActionRequest struct {
|
||||
|
||||
Reference in New Issue
Block a user