puzhibing
2026-09-28 d5a8e1c054431418fa895928ae2e3429295a9865
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());
            }
        };
    }
}