zhibo/fix_live_menu_404.sql
2026-01-03 19:22:42 +08:00

21 lines
499 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- 先查看菜单表结构
SHOW COLUMNS FROM eb_system_menu;
-- 查看所有菜单数据,了解字段名称
SELECT * FROM eb_system_menu LIMIT 5;
-- 查找直播相关的菜单(使用可能的字段名)
-- 可能的字段menu_name/name, menu_path/path/component, pid/parent_id
SELECT
id,
pid,
menu_name,
component,
is_show,
sort
FROM eb_system_menu
WHERE menu_name LIKE '%直播%'
OR component LIKE '%live%'
OR component LIKE '%room%'
ORDER BY sort, id;