Files
digital-psychology/docs/TEST_REPORT/ECR-012.md
T
jackyu66gitandCursor 89756f65b4 feat(ECR-012–016): 合规、题库、时辰刷新、头像、MBTI OEJTS 与埋点
落地输入合规、探索题库、报告日/时辰刷新、账号头像、OEJTS 量表,并补齐 H5 埋点与 Admin 漏斗;同步 ESS 工件、切至自建 Git、清理 GitHub Actions。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 01:27:58 +08:00

33 lines
945 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# TEST_REPORT · ECR-012
**Date:** 2026-08-12
**Result:** PASS(工程师自测)
## Unit
```bash
cd apps/api && go test ./internal/textsafe/ -count=1
# ok
```
## Integration(本机 API :8080
| Case | Endpoint | Expected | Actual |
|---|---|---|---|
| nickname 含「算命」 | POST /auth/register | 40060 | PASS |
| nickname 合法「心语岛」 | POST /auth/register | 0 | PASS |
| PATCH 昵称违规 | PATCH /auth/me | 40060 | PASS |
| display_name「小愈」 | POST /profiles | 0 | PASS |
| ask content `<script` | POST /ask/threads/:id/messages | 40060 | PASS |
| note 刷屏「啊」×8 | POST /moods | 40060 | PASS |
## Frontend
- `@yuxingu/utils` `validateUserText` 镜像规则
- 已挂:Login 注册昵称 · AccountNicknameCard · Ask 发送 · Profile 名 · Companion note · Growth title/focus · Synastry invite 称呼
## Notes
- 后端为权威;前端仅即时提示
- OpenAPI description 已注明 40060