feat(menu): 补充定时器和主机列表的默认菜单初始化数据

在 SystemMenu 初始化数据中新增定时器配置(id=256)、定时器日志(id=257)、主机列表(id=258)三条菜单,确保 seed:run 后菜单自动可用

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
augushong
2026-05-27 20:22:23 +08:00
parent f2f2dcad98
commit c16964679d

View File

@@ -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,
),
);