fix: 修复super管理员获取菜单时因companyId为null抛异常的问题

- 将getCurrentCompanyId()调用延迟到switch分支内部
- super角色不需要公司上下文,直接获取所有菜单
- admin/user角色按需获取公司ID
This commit is contained in:
小蟑螂
2026-03-29 02:41:54 +08:00
parent 6a1b6d09c0
commit 87961c3679
28 changed files with 98 additions and 1860 deletions
+1
View File
@@ -0,0 +1 @@
/tmp/ecom-target