feat:完善项目

This commit is contained in:
henry
2021-11-10 11:26:40 +08:00
parent fb77e15579
commit 095bdcfe4c
10 changed files with 263 additions and 35 deletions

View File

@ -59,7 +59,7 @@ func (c *Menu) Bind(roleID uint64, menuIDs []uint64) error {
continue
}
menus = append(menus, &model2.SysRoleMenu{
ModelTenant: model2.ModelTenant{TenantID: c.TenantID}, RoleID: roleID, MenuID: v,
RoleID: roleID, MenuID: v,
})
mark[v] = v
}