refactor: 横幅及导航新增用于回显的链接数据字段

This commit is contained in:
2025-03-18 10:22:17 +08:00
parent 36f9c8431b
commit 4d43c26a5e
3 changed files with 32 additions and 0 deletions

View File

@@ -69,6 +69,9 @@ class NavigationItem
return error('导航不存在');
}
// 组装用于前台回显的链接数据
$nav['link_echo_data'] = System::getEchoDataBySystemPageUrl($nav['link_to'], $nav['link']);
return success('获取成功', $nav);
}