🎉 更新系统版本
This commit is contained in:
@@ -11,6 +11,12 @@ type AddMenuAuthorityInfo struct {
|
||||
AuthorityId uint `json:"authorityId"` // 角色ID
|
||||
}
|
||||
|
||||
// SetMenuAuthorities 通过菜单ID全量覆盖关联角色列表
|
||||
type SetMenuAuthorities struct {
|
||||
MenuId uint `json:"menuId" form:"menuId"` // 菜单ID
|
||||
AuthorityIds []uint `json:"authorityIds" form:"authorityIds"` // 角色ID列表
|
||||
}
|
||||
|
||||
func DefaultMenu() []system.SysBaseMenu {
|
||||
return []system.SysBaseMenu{{
|
||||
GVA_MODEL: global.GVA_MODEL{ID: 1},
|
||||
|
||||
Reference in New Issue
Block a user