123456789101112131415161718192021222324252627282930313233343536 |
- package request
- type PageInfo struct {
- Page int `json:"page" form:"page"`
- PageSize int `json:"pageSize" form:"pageSize"`
- Keyword string `json:"keyword" form:"keyword"`
- Shunt string `json:"shunt" form:"shunt"`
- }
- type GetById struct {
- ID int `json:"id" form:"id"`
- }
- func (r *GetById) Uint() uint {
- return uint(r.ID)
- }
- type IdsReq struct {
- Ids []int `json:"ids" form:"ids"`
- }
- type DeviceStatus struct {
- Status int `json:"status"`
- PlayStatus int `json:"playStatus"`
- DisplayStatus int `json:"displayStatus"`
- SourceStatus int `json:"sourceStatus"`
- }
- type GetAuthorityId struct {
- AuthorityId uint `json:"authorityId" form:"authorityId"`
- }
- type Empty struct{}
|