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.

22 lines
416 B

  1. package request
  2. // Paging common input parameter structure
  3. type PageInfo struct {
  4. Page int `json:"page" form:"page"`
  5. PageSize int `json:"pageSize" form:"pageSize"`
  6. }
  7. // Find by id structure
  8. type GetById struct {
  9. Id float64 `json:"id" form:"id"`
  10. }
  11. type IdsReq struct {
  12. Ids []int `json:"ids" form:"ids"`
  13. }
  14. // Get role by id structure
  15. type GetAuthorityId struct {
  16. AuthorityId string
  17. }
  18. type Empty struct {}