XinYeYouKu/app/http/entities/common.go

16 lines
251 B
Go
Raw Permalink Normal View History

2024-06-07 18:24:56 +08:00
package entities
type IdRequest struct {
Id int64 `json:"id"`
}
type PageRequest struct {
2024-06-13 14:30:06 +08:00
Page int `form:"page"`
PageSize int `form:"pageSize"`
2024-06-07 18:24:56 +08:00
}
type PageRsp struct {
Total int64 `json:"total"`
Data []interface{} `json:"data"`
}