Files
digital-psychology/docs/HANDOFF/ECR-011-implementation-report.md
T
jackyu66gitandCursor 13860bf1ef
ci / h5 (push) Canceled after 0s
ci / api (push) Canceled after 0s
ci / ess-docs (push) Canceled after 0s
feat(ECR-011): 昵称、首页贴士与档案 Self 唯一/合盘交叉校验
每账号仅一条 self(migration 40902);合盘只选 TA;账号昵称可改;首页穿衣/颜色/养生贴士。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-12 22:05:00 +08:00

942 B

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。