|
|
@@ -587,6 +587,8 @@ find cfc-backend/src/main/java -name "*XxxService.java" -o -name "*XxxController
|
|
|
| `POST /api/growth/plan/confirm` | 确认方案(SC-P-44 家长确认/送审,能力键 `plan.confirm.submit`:generated→reviewed,确认幂等) |
|
|
|
| `POST /api/growth/plan/submit` | 发布方案(SC-P-45 方案直接发布,能力键 `plan.confirm.submit`:generated/reviewed→active,发布幂等) |
|
|
|
| `POST /api/growth/plan/tasks` | 方案任务清单(SC-P-47 `plan.task.list`:按 planId 锚定,返回 `source_type='plan' AND source_id=planId` 的任务明细,含状态/进度;`planId` 缺失→`planId不能为空`,方案不存在→`方案不存在`;任务增删与方案实时同步) |
|
|
|
+| `POST /api/growth/milestone/mark` | 标记成长里程碑(SC-P-51 / 缺口 G-2,能力键 `growth.milestone.mark`,S-cfc-367:系统/手动标,`milestoneType=manual/system`,同一 `(memberId, recordId, type)` 幂等返回同一里程碑 ID;返回 `Result<Long>`,作为时间线高亮依据) |
|
|
|
+| `POST /api/growth/milestone/marked` | 成长里程碑高亮判定(同键:`GrowthMilestoneService.isMarked`,返回 `Result<Map>` 含 `marked`;未标记不高亮,重复标记不翻转状态) |
|
|
|
|
|
|
### 4.7 健康打卡(`/api/health/*`, `/api/daily/checkin`, `/api/mind/checkin`)
|
|
|
|
|
|
@@ -3558,7 +3560,8 @@ W0.2 双配置中心合并:`product_config` 已并入 `service_config`(唯
|
|
|
| 路径 | 说明 |
|
|
|
|------|------|
|
|
|
| `POST /api/growth/record/list`、`/record/child/{memberId}`、`/record/child-records`、`/record/{id}`、`/record/{id}/supplements`、`/record/check-duplicate` | 成长记录查看(SC-P-50,**复用 `growth.history.view`,仅登记不新建**) |
|
|
|
-| `POST /api/family/relationship/milestones`;`POST /api/invite/milestone/list`、`/claim` | 关系/邀请里程碑(SC-P-51 主场景载体,**成长里程碑无独立端点 → 缺口 G-2**) |
|
|
|
+| `POST /api/family/relationship/milestones`;`POST /api/invite/milestone/list`、`/claim` | 关系/邀请里程碑(SC-P-51 场景载体) |
|
|
|
+| `POST /api/growth/milestone/mark`、`/milestone/marked` | 成长里程碑标记 / 高亮判定(SC-P-51 / 能力键 `growth.milestone.mark`,S-cfc-367;**缺口 G-2 已闭环**:`GrowthController` 新增独立端点,系统/手动标 + 幂等 + 时间线高亮判定) |
|
|
|
#### 4.63.6 商城加购/下单(SC-P-54,EVD-4 已覆部分)
|
|
|
| 路径 | 说明 |
|
|
|
|------|------|
|
|
|
@@ -3593,7 +3596,7 @@ W0.2 双配置中心合并:`product_config` 已并入 `service_config`(唯
|
|
|
| SC | 场景 | 现状 | 处置 |
|
|
|
|----|------|------|------|
|
|
|
| SC-P-29 | 食谱收藏/调整 | 「调整」已存在(/api/meal/replace、/api/diet/recommendation/update|regenerate);「收藏」无端点(仅指标收藏 /api/indicator/favorite/* 为异构) | 缺口 G-1,需产品侧确认 |
|
|
|
-| SC-P-51 | 成长里程碑 | `GrowthController /api/growth` 无里程碑端点;关系/邀请里程碑(/api/family/relationship/milestones、/api/invite/milestone/*)非成长;成长页里程碑为前端聚合 | 缺口 G-2,需产品侧确认 |
|
|
|
+| SC-P-51 | 成长里程碑 | ✅ 已闭环:`GrowthController /api/growth/milestone/mark`、`/milestone/marked` 已落地(S-cfc-367 / `growth.milestone.mark`,系统/手动标 + 幂等 + 时间线高亮判定,契约测试 8 绿);关系/邀请里程碑(/api/family/relationship/milestones、/api/invite/milestone/*)仍为独立场景载体 | 缺口 G-2 已闭环(原「需产品侧确认」由契约测试验收) |
|
|
|
| SC-P-62 | 联系人分组/导入 | 导入单条存在(/api/contact/import-phone);分组/批量导入原无端点 | ✅ 已闭环:新增 /api/contact/import-batch、/import-group、/group/create、/group/list(S-cfc-375 落地 `contact.group.import`:ContactGroup 实体+contact_group 表+contacts.group_id,格式错误行跳过并报告) |
|
|
|
| SC-P-83 | 意见反馈/在线客服 | 反馈已存在(/api/health/feedback/*、/api/activity/feedback/*、/api/feedback/*);在线客服无专用端点 | 缺口 G-4,需产品侧确认 |
|
|
|
| SC-P-85 | 多端登录/会话互斥 | 登录族 + SSO 票据存在;无单端互斥/旧 token 踢出(JWT 无状态) | 缺口 G-5,需产品侧确认 |
|