XinYeYouKu/app/http/entities/common.go

16 lines
251 B
Go

package entities
type IdRequest struct {
Id int64 `json:"id"`
}
type PageRequest struct {
Page int `form:"page"`
PageSize int `form:"pageSize"`
}
type PageRsp struct {
Total int64 `json:"total"`
Data []interface{} `json:"data"`
}