Commit Graph

11 Commits

Author SHA1 Message Date
758ed73f9d fix: 渠道账号群聊同步缓存 key 及成员名称兜底;统一 Docker/Maven 项目约定 2026-07-10 15:55:30 +08:00
b0624126ad docs: add system menu redesign spec 2026-07-09 10:53:08 +08:00
1298a558e8 wip: baseline changes before channel-conversation-task boundary implementation 2026-07-08 16:23:09 +08:00
616f5fd2d3 docs(architecture): 提交消息与客户互动中台架构设计文档 2026-07-07 17:29:44 +08:00
24a70eb530 fix(task12): 修复前端登录租户编码透传、补充 tenant_admin 角色迁移与外部 API 测试脚本
- admin-web/api/client.ts: 请求拦截器仅在未显式传入 X-Tenant-Code 时使用 localStorage 默认值
- admin-web/api/account.ts: login 显式携带租户编码请求头,解决浏览器登录 401
- db/migration/V10: 新增 tenant_admin 平台角色,供外部 API 测试创建租户管理员
- scripts/test-external-api.sh: 创建租户后自动创建管理员并登录,后续接口使用 Bearer Token
- docs/superpowers/plans: 提交总体规划与 Task 12 测试计划
2026-07-07 16:08:20 +08:00
f50a3fd0c9 feat(auth): replace JWT with Sa-Token, add auth context and interceptor 2026-07-07 14:52:18 +08:00
14c2c3095b docs(plan): self-review admin-web auth/tenant/flow plan 2026-07-07 14:44:40 +08:00
03ba46a0a3 docs: add comprehensive admin-web auth, flow diagram and message testing design 2026-07-07 14:23:48 +08:00
d4ee166caf docs: add admin-web fill-out design 2026-07-07 14:14:50 +08:00
51a373e06c chore: consolidate docker-compose and add integration tests
- Merge infrastructure/docker-compose.yml + docker-compose.app.yml into root docker-compose.yml with profiles (infra/app).
- Add healthchecks for mysql/redis/rabbitmq/mci-server/channel-service and depends_on conditions.
- Rewrite scripts/local-up.sh to use profiles and wait for healthy states.
- Add curl to mci-server and channel-service Docker images for healthchecks.
- Add npm test script to admin-web (type-check + build smoke test).
- Add scripts/test-external-api.sh covering 11 API endpoints.
- Verify Java (7/7), Python (6/6), npm build, external API (11/11), and UI flows.
2026-07-07 13:35:41 +08:00
033580aa52 docs: add compose consolidation and test plan spec 2026-07-07 13:15:18 +08:00