Files
digital-psychology/docs/ENGINEERING_SPEC/ECR-008-ops-content.md
T
jackyu66gitandCursor 7ab9add5dd
ci / h5 (push) Canceled after 0s
ci / api (push) Canceled after 0s
ci / ess-docs (push) Canceled after 0s
feat(ops): ECR-007 行为分析与 ECR-008 内容运营后台
落地埋点 ingest/数据看板、首页宫格 CMS 与测评上下架;含账号引导、问答流式与免责声明去重,以及 review P1 审计同事务修复。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 02:26:16 +08:00

1006 B
Raw Blame History

ENGINEERING_SPEC — ECR-008 运营内容 Ops-C

权威设计:docs/BACKEND_DESIGN/ECR-008-ops-content.md
产品:.ai/product/feature-spec/ops-content.md

Implement order

  1. Migration 000014_ops_contenthome_tools + seed 12 格)+ ERD
  2. repository/home_tools_repo.go · 扩展 ScaleRepo admin list/update status
  3. service/home(或 service/content)+ admin 扩展:校验白名单、整表替换、审计
  4. HandlerGET /home/tools 挂 DeviceAuthadmin home/scales 挂 AdminAuth
  5. OpenAPI
  6. SDKgetHomeTools
  7. user-h5useHomePage 拉 API + 静态回退
  8. admin-h5:「内容」页两 Tab
  9. Integration + 单测
  10. TRACEABILITY · STATE · CHANGELOG · feature-map

Constraints

  • 函数 ≤50 · 文件 ≤400
  • UI → sdk/thin client → Handler → Service → Repository
  • PUT home_tools:整批事务替换;失败整批回滚
  • 不提交密钥

Done when

ECR Acceptance + DoD Review + ess-validate review