XinYeYouKu/app/http/entities/common.go

16 lines
255 B
Go

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