You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
314 B
16 lines
314 B
package request
|
|
|
|
// Paging common input parameter structure
|
|
type PageInfo struct {
|
|
Page int `json:"page" form:"page"`
|
|
PageSize int `json:"pageSize" form:"pageSize"`
|
|
}
|
|
|
|
// Find by id structure
|
|
type GetById struct {
|
|
Id float64 `json:"id" form:"id"`
|
|
}
|
|
|
|
type IdsReq struct {
|
|
Ids []int `json:"ids" form:"ids"`
|
|
}
|