每账号仅一条 self(migration 40902);合盘只选 TA;账号昵称可改;首页穿衣/颜色/养生贴士。 Co-authored-by: Cursor <cursoragent@cursor.com>
31 lines
942 B
Markdown
31 lines
942 B
Markdown
# IMPLEMENTATION_REPORT — ECR-011
|
|
|
|
**Date:** 2026-08-12
|
|
**ECR:** ECR-011
|
|
|
|
## Summary
|
|
|
|
实现与 Approved BD-2026-011 对齐(过程补录后收敛):账号昵称、首页每日贴士、每账号唯一 Self + 合盘交叉校验与 H5 ensure*。
|
|
|
|
## Key paths
|
|
|
|
| Area | Path |
|
|
|------|------|
|
|
| Migration | `apps/api/migrations/000017_unique_self_profile.*.sql` |
|
|
| Nickname | `apps/api/internal/nickname/` |
|
|
| Yijing seed | `apps/api/internal/yijing/` |
|
|
| Auth | `service/auth` · `handler/auth` PatchMe |
|
|
| Profile | `service/profile` ErrSelfExists · 40902 |
|
|
| Synastry | `service/report.CreateSynastry` |
|
|
| Daily tips | `service/home/daily_tips.go` |
|
|
| H5 session | `apps/user-h5/src/lib/authSession.ts` |
|
|
| UI | Profile `AccountNicknameCard` · HomeSelfCard · Synastry picks |
|
|
|
|
## Deviations from BD
|
|
|
|
无。
|
|
|
|
## Follow-ups for Reviewer
|
|
|
|
Integration 需本机 Postgres;手工冒烟清单见 Architect→Engineer HANDOFF。
|