支持不同角色自定义首页

This commit is contained in:
pixel
2021-01-14 12:28:13 +08:00
parent 3d01706fb6
commit 7abe6987a5
6 changed files with 56 additions and 16 deletions
+1
View File
@@ -14,4 +14,5 @@ type SysAuthority struct {
DataAuthorityId []SysAuthority `json:"dataAuthorityId" gorm:"many2many:sys_data_authority_id"`
Children []SysAuthority `json:"children" gorm:"-"`
SysBaseMenus []SysBaseMenu `json:"menus" gorm:"many2many:sys_authority_menus;"`
DefaultRouter string `json:"defaultRouter" gorm:"comment:默认菜单;default:dashboard"`
}