docs: clarify 4 new services are independent new systems, not reuse

Per user feedback: admin/review/ai-image-gen/ai-chat are completely new independent systems with their own codebases and DBs, not reusing existing services. They only have API-level calls between each other and to existing services. Section 1.3 table and 'key clarification' paragraph updated. Other 'shared' references in the document refer to the platform-architecture sense (shared services for all groups), not code reuse, so no other changes needed.
This commit is contained in:
zheng020 2026-06-08 14:32:11 +08:00
parent dfe251c52b
commit ebe4a622d8

View File

@ -34,14 +34,16 @@ TopFans 是一个"明星粉丝平台"。不同明星的粉丝量差异极大:
### 1.3 即将到来的新服务 ### 1.3 即将到来的新服务
代码或 PRD 中已提及、未来需要独立部署的: 代码或 PRD 中已提及、未来需要独立部署的**全新系统**(非复用现有服务,各自独立代码库、独立 DB,只通过 API 互相调用):
| 服务 | 作用 | 复用关系 | | 服务 | 作用 | 关系 |
|---|---|---| |---|---|---|
| `admin` | 后台管理平台(运营、客服) | 复用 userservice / 独立 DB schema | | `admin` | 后台管理平台(运营、客服) | **独立系统**,通过 API 调用 userservice / 其他服务 |
| `review` | 审核工作流(UGC 内容审核) | 调用 assetservice / 独立 DB | | `review` | 审核工作流(UGC 内容审核) | **独立系统**,通过 API 调用 assetservice 读取待审内容,审核结果回写自己的 DB |
| `ai-image-gen` | AI 图片生成(镭射卡) | 当前嵌在 gateway 调用 MiniMax,可独立 | | `ai-image-gen` | AI 图片生成(镭射卡) | **独立系统**,gateway 改为通过 API 调用它(原 MiniMax 调用逻辑迁过去) |
| `ai-chat` | AI 对话(粉丝互动) | 当前是 aichatservice,可拆分 | | `ai-chat` | AI 对话(粉丝互动) | **独立系统**,前端通过 API 调用它(从 aichatservice 拆出来) |
> **关键澄清**: 这四个服务与现有 `userservice` / `assetservice` / `aichatservice` 等**没有代码级复用关系**,也没有共享 DB schema。它们是完全独立的新服务,通过 HTTP/gRPC API 互相调用。K8s 迁移任务只负责**为它们预留 namespace 位置和部署模板**,不涉及实现。
--- ---