-- =====================================================
-- 修复封禁菜单的component路径
-- =====================================================

-- 更新用户封禁菜单的component路径
UPDATE eb_system_menu 
SET component = 'ban/userBan'
WHERE `name` = '用户封禁';

-- 更新房间封禁菜单的component路径
UPDATE eb_system_menu 
SET component = 'ban/roomBan'
WHERE `name` = '房间封禁';

-- 验证更新结果
SELECT id, pid, `name`, perms, component, sort, is_show
FROM eb_system_menu 
WHERE `name` LIKE '%封禁%'
ORDER BY sort DESC;
