feat(ECR-006): 落地运营后台 Phase A(admin API + admin-h5)
新增独立鉴权的 /api/v1/admin 与 Vue 控制台;会员授予与审计同事务,并补集成/单测。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -8,7 +8,7 @@ Product/DoD 权威:`.ai/`(不在此复制长文)
|
||||
1. 语言契约:只用 `.ai/product/lexicon.md` 中的愈心谷用词;禁止竞品品牌词与恐吓/吉凶话术。
|
||||
2. API 信封固定为 `{code,message,data}`;不发明表名、端点、领域同义词。
|
||||
3. 调用链:UI → `@yuxingu/sdk` → Handler → Service → Repository → DB。
|
||||
4. 新功能 / 扩行为:必须有 Active `.ai/product/feature-spec/<id>.md`;L2+ 另须 Approved `docs/ECR/`。
|
||||
4. 新功能 / 扩行为:必须有 Active `.ai/product/feature-spec/<id>.md`;L2+ 另须 Approved `docs/ECR/`;**涉后台**另须 Approved `docs/BACKEND_DESIGN/`。
|
||||
5. 本地默认:本机 `go run` + Vite;compose 只起 DB。
|
||||
6. Done ≠ build 通过:须过 `.ai/definition-of-done.md` 并输出 Review Report。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user