fix(phase2a): handleError 增强 + 代码格式化 + 测试报告归档

- auth/contact Controller handleError 增加 fallbackMsg 可变参数,未知错误可返回更有语义的降级提示
- import 排序、变量对齐等 gofmt 格式规范化
- 新增管理端测试报告和路由验证报告

Made-with: Cursor
This commit is contained in:
bujinyuan
2026-03-03 09:51:43 +08:00
parent 2c59500e27
commit c8ae70ef97
9 changed files with 616 additions and 59 deletions

View File

@@ -15,9 +15,10 @@ alwaysApply: true
## 当前进度
- **Phase 1基础设施与用户认证**:✅ 全部完成11 个 Task
- **Phase 2aWebSocket 实时通讯与联系人管理)**:✅ 全部完成13 个 Task
- **Phase 2b即时通讯消息系统**:待制定实施计划
- **Phase 2aWebSocket 实时通讯与联系人管理)**:✅ 全部完成13 个 Task + 后期 Bug 修复 3 项
- **Phase 2b即时通讯消息系统**:待制定实施计划,架构建议已记录于 `docs/plans/2026-03-02-phase2b-architecture-notes.md`
- 分支:`feature/phase2a-websocket-contacts`
- **跨模块通信模式**已建立接口注入标准ws.FriendIDsGetter → contact.FriendshipDAOPhase 2b 沿用此模式
## 项目概述