lzh
72ed0eb5aa
feat(@vben/web-antd): 支持按 platform 过滤多前端菜单
业务平台 (biz) 与物联运维平台 (iot) 共享同一后端,需按前端来源过滤菜单,
避免同一角色在两端看到相同菜单。
- 新增 CLIENT_ID 常量,请求拦截器 / 基础 client 统一注入 X-Client-Id 头,
后端密码登录 & refresh-token 据此绑定 token 的 client/platform
- SystemMenuApi.Menu 增加 platform 字段
- 菜单表单新增"所属平台"选择项(PLATFORM_OPTIONS),为 null 则两端共享
配合后端迁移 sql/mysql/migrations/2026-04-20_oauth2_client_platform.sql。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-22 23:40:19 +08:00
..
2026-04-14 09:33:13 +08:00
2025-12-23 10:51:03 +08:00
2026-04-22 23:40:19 +08:00
2026-01-14 14:13:16 +08:00
2024-07-28 14:29:05 +08:00
2026-03-18 15:19:29 +08:00
2026-03-18 15:19:29 +08:00
2025-12-23 10:51:03 +08:00
2025-04-19 16:41:49 +08:00
2026-03-24 18:59:41 +08:00
2026-03-22 14:56:15 +08:00
2024-06-08 16:33:49 +08:00
2025-12-23 10:51:03 +08:00
2024-06-08 16:33:49 +08:00
2025-10-16 10:28:42 +08:00
2024-07-28 14:29:05 +08:00
2025-11-03 17:10:47 +08:00