103 lines
3.7 KiB
Markdown
103 lines
3.7 KiB
Markdown
# Phase V1.1 本地部署完成报告
|
||
|
||
**日期**: 2026-09-09
|
||
**版本**: v1.1.0-RC.1
|
||
**状态**: 部署完成,16/16 E2E测试通过
|
||
|
||
---
|
||
|
||
## 修复的问题汇总
|
||
|
||
### 后端Bug
|
||
| # | 问题 | 根因 | 修复 |
|
||
|---|------|------|------|
|
||
| 1 | `POST /counseling/services` 500 | operator用户ID不在`users`表,通知FK约束违反导致事务中止 | 通知前检查用户是否存在 |
|
||
| 2 | `GET /api/v1/home` 404 | `@RequestMapping("/api/v1/home")` 与context-path重复 | 改为`@RequestMapping("/home")` |
|
||
| 3 | `GET /api/v1/local-eligibility` 路径重复 | 同上 | 改为`@RequestMapping("/local-eligibility")` |
|
||
| 4 | `POST /service-appointments` 500 | Controller不支持从请求体获取userId | ServiceAppointmentRequest新增userId字段,Controller优先使用请求体userId |
|
||
| 5 | 18张表缺少updated_at列 | Flyway迁移未包含 | 批量ALTER TABLE添加列 |
|
||
| 6 | notifications表缺少updated_at | V004迁移未包含 | ALTER TABLE添加列 |
|
||
|
||
### 前端Bug
|
||
| # | 问题 | 修复 |
|
||
|---|------|------|
|
||
| 1 | `CounselingView.vue` 被截断 | 重写完整文件 |
|
||
| 2 | `ContentManagementView.vue` 缺少`</style>`闭合 | 补全闭合标签 |
|
||
| 3 | V1.1模块未注册到router | 添加7个新路由及权限映射 |
|
||
| 4 | 侧边栏缺少V1.1菜单项 | MainLayout.vue新增7个菜单项 |
|
||
|
||
---
|
||
|
||
## 部署架构
|
||
|
||
```
|
||
http://localhost:8085/api/v1 → 后端 API (Spring Boot)
|
||
http://localhost:8086 → Admin Web (Nginx)
|
||
http://localhost:5434 → PostgreSQL
|
||
http://localhost:6381 → Redis
|
||
http://localhost:9003 → MinIO Console
|
||
```
|
||
|
||
## 容器状态
|
||
|
||
| 容器 | 镜像 | 状态 |
|
||
|------|------|------|
|
||
| danyang-match-backend | infrastructure-backend:latest | Up (healthy) |
|
||
| danyang-match-postgres | postgres:16-alpine | Up (healthy) |
|
||
| danyang-match-redis | redis:7-alpine | Up (healthy) |
|
||
| danyang-match-minio | minio/minio:latest | Up (healthy) |
|
||
| danyang-match-admin | nginx:alpine | Up |
|
||
|
||
## E2E测试结果: 16/16 PASS
|
||
|
||
| 测试 | 端点/场景 | 结果 |
|
||
|------|-----------|------|
|
||
| test_01 | 健康检查 | PASS |
|
||
| test_02 | 首页聚合 | PASS |
|
||
| test_03 | 首页8核心入口结构(INV-017) | PASS |
|
||
| test_04 | 内容分类列表 | PASS |
|
||
| test_05 | 文章内容CRUD+发布 | PASS |
|
||
| test_06 | 服务预约创建+查询 | PASS |
|
||
| test_07 | 咨询创建(INV-012保护) | PASS |
|
||
| test_08 | 咨询待分配队列 | PASS |
|
||
| test_09 | 红娘转介服务站 | PASS |
|
||
| test_10 | 转介历史 | PASS |
|
||
| test_11 | V1.1仪表盘 | PASS |
|
||
| test_12 | 8个子统计端点 | PASS |
|
||
| test_13 | Feature Flags(15项) | PASS |
|
||
| test_14 | 4个运营商账号登录 | PASS |
|
||
| test_15 | 活动列表(公开) | PASS |
|
||
| test_16 | 活动类型枚举 | PASS |
|
||
|
||
## 数据库状态
|
||
|
||
| 表 | 记录数 |
|
||
|----|--------|
|
||
| operators | 4 |
|
||
| users | 1 |
|
||
| content_categories | 5 |
|
||
| home_banners | 9 |
|
||
| service_locations | 3 |
|
||
| counseling_services | 4 |
|
||
| service_appointments | 6+ |
|
||
| content_articles | 4+ |
|
||
|
||
## 运营商登录凭证
|
||
|
||
测试凭证已从完成报告移除;由本地环境变量或安全 Seed 提供。
|
||
|
||
## 已知限制
|
||
|
||
1. **Content分类无DELETE端点** — ContentController未实现删除分类API(BAD_REQUEST)
|
||
2. **ServiceStation统计activeStations返回0** — getV11ServiceDashboard中activeStations计算逻辑需检查
|
||
3. **Admin Web侧边栏** — V1.1菜单项需对应权限才能显示(admin账号全权限可见)
|
||
|
||
## 下一步: Phase 24-26 (UAT/RC/Production)
|
||
|
||
- **Phase 24 UAT**: 安排真实用户参与完整流程测试
|
||
- **Phase 25 RC内容检查**: 运营团队填充真实文章/活动/服务站信息
|
||
- **Phase 26 Production Smoke Tests**: 13项手动验证(见JIRA_BACKLOG.md)
|
||
|
||
---
|
||
*报告生成时间: 2026-09-09 04:45*
|