1234567891011121314151617181920212223242526272829303132333435363738 |
- package model
- import "iot_manager_service/app/system/dao"
- type RsqMenuList struct {
- Records []dao.Menu `json:"records"` //记录列表
- Current int `json:"current"` //当前分页
- Size int `json:"size"` //每页数量
- Pages int `json:"pages"` //总页数
- Total int `json:"total"` //总数
- }
- type MenuRouteDetail struct {
- dao.Menu
- HasChildren bool `json:"hasChildren"`
- Children []MenuRouteDetail `json:"children"`
- }
- type RsqMenuLazyList struct {
- List []MenuLazyListDetail `json:"data"`
- }
- type MenuLazyListDetail struct {
- dao.Menu
- HasChildren bool `json:"hasChildren"`
- }
- type ResMenuIds struct {
- Menu []int64 `json:"menu"`
- DataScope []int `json:"dataScope"` //类型还未确定
- ApiScope []int `json:"apiScope"` //类型还未确定
- }
- type ResGrantTree struct {
- Menu []MenuRouteDetail `json:"menu"`
- DataScope []int `json:"dataScope"` //类型还未确定
- ApiScope []int `json:"apiScope"` //类型还未确定
- }
|