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"` // 主键ID } type IdsReq struct { Ids []int `json:"ids" form:"ids"` } type IdsStrReq struct { Ids []string `json:"ids" form:"ids"` } type IdStrReq struct { ID string `json:"id" form:"id"` } type StatusParam struct { Status string `json:"status" form:"id"` ID string `json:"id" form:"id"` } type StatusParams struct { Status string `json:"status"` IdsStrReq } type StatusParamsInt struct { Status int `json:"status"` IdsStrReq } type ChannelId struct { ChannelId string `json:"channelId" form:"channelId"` } type StructParams map[string]interface{} // Get role by id structure type GetAuthorityId struct { AuthorityId string // 角色ID } type Empty struct{}