12345678910111213141516171819202122232425262728 |
- 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"`
- }
- // Find by id structure
- type GetByIdUnit struct {
- Id uint `json:"id" form:"id"`
- }
- type IdsReq struct {
- Ids []int `json:"ids" form:"ids"`
- }
- // Get role by id structure
- type GetAuthorityId struct {
- AuthorityId string
- }
- type Empty struct{}
|