页面权限接口

This commit is contained in:
张松
2025-04-02 15:21:10 +08:00
parent 0d11678148
commit 7d9cfb74f4
2 changed files with 15 additions and 1 deletions

View File

@@ -133,7 +133,7 @@ public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> imp
if (b) {
sysRolesMenusService.updateChain().eq(SysRolesMenus::getRoleId, role.getId()).remove();
return addMenu(role.getId(), roleEditDTO.getMenuIdList());
}
}
throw new ApiNotPrintException("保存失败");
}
}