ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/factory/SysRoleFallbackFactory.java
@@ -22,6 +22,11 @@ public R<List<SysRole>> getSysRoleByIds(GetSysRoleByIds ids) { return R.fail("获取角色失败:" + cause.getMessage()); } @Override public R<Long> getRoleIdByRoleKey(String roleKey) { return R.fail("获取角色失败:" + cause.getMessage()); } }; } }