Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Menu ¶
type Menu struct {
BaseMenu
MenuId string `json:"menuId"`
AuthorityId string `json:"-"`
Children []Menu `json:"children"`
}
menu需要构建的点有点多 这里关联关系表直接把所有数据拿过来 用代码实现关联 后期实现主外键模式
func (*Menu) AddMenuAuthority ¶
为角色增加menu树
func (*Menu) GetMenuAuthority ¶
查看当前角色树
Click to show internal directories.
Click to hide internal directories.