Cron_Admin/app/http/entities/common.go

16 lines
246 B
Go

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