-- 最终修复：使用系统能识别的路径格式

-- 删除礼物菜单
DELETE FROM eb_system_menu WHERE name = '礼物打赏';

-- 重新添加，使用简单的路径
INSERT INTO eb_system_menu (pid, name, icon, perms, component, menu_type, sort, is_show, is_delte) 
VALUES (0, '礼物打赏', 'el-icon-present', 'admin:gift:records', 'gift/records/index', 'C', 50, 1, 0);

-- 给管理员分配权限
INSERT IGNORE INTO eb_system_role_menu (rid, menu_id)
SELECT 1, id FROM eb_system_menu WHERE name = '礼物打赏';

-- 验证
SELECT id, name, component FROM eb_system_menu WHERE name = '礼物打赏';
