YouChuKoffee/app/http/entities/front/common.go

16 lines
248 B
Go
Raw Normal View History

2024-06-19 18:32:34 +08:00
package front
2024-06-17 14:18:39 +08:00
type IdRequest struct {
Id int64 `json:"id"`
}
type PageRequest struct {
2024-06-19 18:32:34 +08:00
Page int `form:"page"`
PageSize int `form:"pageSize"`
2024-06-17 14:18:39 +08:00
}
type PageRsp struct {
Total int64 `json:"total"`
Data []interface{} `json:"data"`
}