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.

23 lines
474 B

3 years ago
  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"` // 主键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 // 角色ID
  17. }
  18. type Empty struct{}