17 lines
420 B
Go
17 lines
420 B
Go
package v1
|
|
|
|
import (
|
|
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
|
|
|
"github.com/gogf/gf/v2/frame/g"
|
|
)
|
|
|
|
type MenuTreeReq struct {
|
|
g.Meta `path:"/menu/tree" method:"get" tags:"代理商菜单权限" summary:"可分配菜单树" x-check-permission:"cpm:agent:role:query"`
|
|
}
|
|
|
|
type MenuTreeRes struct {
|
|
Items []*model.SysMenuTreeModel `json:"items"`
|
|
MenuIds []int64 `json:"menuIds"`
|
|
}
|