mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-08-30 04:35:33 +08:00
feat(admin): XHProf 菜单与权限配置
菜单为运行时 DB 数据(ul_system_menu),本仓库无代码改动;本提交为计划 Todo 8 里程碑标记。 落库内容(docker-dev 环境): - 系统管理(pid 实查=228) 下新增分组 304 性能分析 - 305 采样列表 xhprof.run/index、306 命中记录 xhprof.run_watch/index、307 监控规则 xhprof.watch/index(auth_node 与 href 同值) 复现命令(幂等需先查后建,admin:menu:create 无唯一性拦截): php think admin:menu:create --title=性能分析 --icon=fa.fa-tachometer --parent-id=<系统管理id> --sort=0 php think admin:menu:create --title=采样列表 --path=xhprof.run/index --node=xhprof.run/index --icon=fa.fa-list --parent-id=<性能分析id> --sort=0 php think admin:menu:create --title=命中记录 --path=xhprof.run_watch/index --node=xhprof.run_watch/index --icon=fa.fa-crosshairs --parent-id=<性能分析id> --sort=0 php think admin:menu:create --title=监控规则 --path=xhprof.watch/index --node=xhprof.watch/index --icon=fa.fa-eye --parent-id=<性能分析id> --sort=0 验证:admin:permission:nodes 含 xhprof.* 节点;四页面 200;菜单树经 /admin/ajax/initAdmin 渲染确认(清缓存后生效)。证据:.omo/evidence/task-8-xhprof-log-backend.txt
This commit is contained in: