From c16964679d9e0ef31cc0705353e1010c2b9ac48b Mon Sep 17 00:00:00 2001 From: augushong Date: Wed, 27 May 2026 20:22:23 +0800 Subject: [PATCH] =?UTF-8?q?feat(menu):=20=E8=A1=A5=E5=85=85=E5=AE=9A?= =?UTF-8?q?=E6=97=B6=E5=99=A8=E5=92=8C=E4=B8=BB=E6=9C=BA=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E7=9A=84=E9=BB=98=E8=AE=A4=E8=8F=9C=E5=8D=95=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在 SystemMenu 初始化数据中新增定时器配置(id=256)、定时器日志(id=257)、主机列表(id=258)三条菜单,确保 seed:run 后菜单自动可用 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- .../service/adminInitData/SystemMenu.php | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/extend/base/admin/service/adminInitData/SystemMenu.php b/extend/base/admin/service/adminInitData/SystemMenu.php index af22cf5..6a26cab 100644 --- a/extend/base/admin/service/adminInitData/SystemMenu.php +++ b/extend/base/admin/service/adminInitData/SystemMenu.php @@ -176,6 +176,39 @@ $ul_system_menu = array( "sort" => 0, "status" => 1, ), + array( + "id" => 256, + "pid" => 228, + "title" => "定时器配置", + "icon" => "fa fa-clock-o", + "href" => "system.timer_config/index", + "params" => "", + "target" => "_self", + "sort" => 0, + "status" => 1, + ), + array( + "id" => 257, + "pid" => 228, + "title" => "定时器日志", + "icon" => "fa fa-history", + "href" => "system.timer_log/index", + "params" => "", + "target" => "_self", + "sort" => 0, + "status" => 1, + ), + array( + "id" => 258, + "pid" => 228, + "title" => "主机列表", + "icon" => "fa fa-server", + "href" => "system.host/index", + "params" => "", + "target" => "_self", + "sort" => 0, + "status" => 1, + ), );