✅ E2E 测试通过
M0 E2E 测试已全部通过 — 28/28 tests passed,耗时 ~1.4s。
本 Issue 测试内容
GET /admin-api/events → returns all 4 queues (ai-analysis,…
✅ E2E 测试通过
M0 E2E 测试已全部通过 — 28/28 tests passed,耗时 ~1.4s。
本 Issue 测试内容
GET /api health endpoint returns safe response
运行方式
✅ E2E 测试通过
M0 E2E 测试已全部通过 — 28/28 tests passed,耗时 ~1.4s。
本 Issue 测试内容
API metrics interceptor records request, x-trace-id unique per…
✅ E2E 测试通过
M0 E2E 测试已全部通过 — 28/28 tests passed,耗时 ~1.4s。
本 Issue 测试内容
GET /admin-api/config → 200 with admin auth
运行方式
✅ E2E 测试通过
M0 E2E 测试已全部通过 — 28/28 tests passed,耗时 ~1.4s。
本 Issue 测试内容
GET /admin-api/audit-logs → 200 paginated items, 401 without…
✅ E2E 测试通过
M0 E2E 测试已全部通过 — 28/28 tests passed,耗时 ~1.4s。
本 Issue 测试内容
POST /admin-api/auth/login rate-limited / validation works
###…
✅ E2E 测试通过
M0 E2E 测试已全部通过 — 28/28 tests passed,耗时 ~1.4s。
本 Issue 测试内容
GET /api → 200 standard response, 404 error format, x-trace-id…
✅ E2E 测试通过
M0 E2E 测试已全部通过 — 28/28 tests passed,耗时 ~1.4s。
本 Issue 测试内容
GET /admin-api/events → 200 queue overview, 401 without token,…
现有代码实施状态
大部分已实现:
- User + AuthAccount + RefreshToken Prisma 模型
- Apple Sign In 完整流程 (identityToken 验证)
- JWT accessToken + refreshToken 轮换 -…
实施状态 — 已完成
- AdminUser 模型 + Prisma
- AdminAuthService: login/logout/refresh/me
- AdminTokenService: JWT 签发+校验
- AdminAuthGuard + AdminRolesGuard
- SUPER_ADMIN >…
实施完成
- AES-256-GCM 加密存储
- SecretRecord + SecretAccessLog
- SecretService.encrypt/decrypt/getDecrypted
- Admin AAPI: CRUD + 访问日志
- Admin Web: 系统运维→密钥管理