-- 检查直播管理相关的菜单配置
SELECT 
    id,
    pid,
    name,
    path,
    component,
    is_show,
    sort
FROM eb_system_menu 
WHERE path LIKE '%live%' 
   OR path LIKE '%room%'
   OR name LIKE '%直播%'
   OR name LIKE '%房间%'
ORDER BY sort, id;

-- 检查是否有重复或冲突的路径
SELECT 
    path,
    COUNT(*) as count,
    GROUP_CONCAT(name SEPARATOR ', ') as menu_names
FROM eb_system_menu 
WHERE path LIKE '%live%' OR path LIKE '%room%'
GROUP BY path
HAVING count > 1;

-- 检查礼物菜单配置
SELECT 
    id,
    pid,
    name,
    path,
    component,
    is_show,
    sort
FROM eb_system_menu 
WHERE path LIKE '%gift%' 
   OR name LIKE '%礼物%'
ORDER BY sort, id;
