聚合 GET /admin/users/:id/insight(报告类型/派生标签/行为快照),admin-h5 洞察 Tab;无 migration / 无 UGC / 无真支付。 Co-authored-by: Cursor <cursoragent@cursor.com>
25 lines
592 B
Markdown
25 lines
592 B
Markdown
# Backend Design: ECR-016 UserIntelligence
|
||
|
||
| ID | BD-2026-016 |
|
||
| Status | Approved |
|
||
| Coding | Loop authorized |
|
||
| Level | L2 |
|
||
| Migration | NO |
|
||
|
||
## Backend Change Boundary
|
||
|
||
```text
|
||
Domain: UserInsight read model (BehaviorSnapshot · PsychologicalTagSet derived)
|
||
App: AdminHandler → admin.Service → AdminRepo aggregates
|
||
API: GET /api/v1/admin/users/{id}/insight
|
||
Permission: admin.users.read
|
||
Migration: NO
|
||
UI: admin-h5 UserDetail「洞察」Tab
|
||
```
|
||
|
||
## Out of boundary
|
||
|
||
Write tags · new tables · Ask body edit · UGC · true payment
|
||
|
||
Rollback: remove route + UI tab(无 schema)
|