4e21ca937a
Deploy Documentation / deploy (push) Has been cancelled
Canary / Prepare Version (push) Has been cancelled
Canary / build-cli (push) Has been cancelled
Canary / Upload Install Script (push) Has been cancelled
Canary / bundle-desktop (push) Has been cancelled
Canary / bundle-desktop-intel (push) Has been cancelled
Canary / bundle-desktop-linux (push) Has been cancelled
Canary / bundle-desktop-windows (push) Has been cancelled
Canary / bundle-desktop-windows-cuda (push) Has been cancelled
Canary / Release (push) Has been cancelled
Unused Dependencies / machete (push) Has been cancelled
CI / changes (push) Has been cancelled
CI / Check Rust Code Format (push) Has been cancelled
CI / Build and Test Rust Project (push) Has been cancelled
CI / Build Rust Project on Windows (push) Has been cancelled
CI / Check MSRV (push) Has been cancelled
CI / Lint Rust Code (push) Has been cancelled
CI / Check Generated Schemas are Up-to-Date (push) Has been cancelled
CI / Test and Lint Electron Desktop App (push) Has been cancelled
CI / H5 Plaza Tests and Build (push) Has been cancelled
Live Provider Tests / check-fork (push) Has been cancelled
Live Provider Tests / changes (push) Has been cancelled
Live Provider Tests / Build Binary (push) Has been cancelled
Live Provider Tests / Smoke Tests (push) Has been cancelled
Live Provider Tests / Smoke Tests (Code Execution) (push) Has been cancelled
Live Provider Tests / Compaction Tests (push) Has been cancelled
Live Provider Tests / goose server HTTP integration tests (push) Has been cancelled
Publish Ask AI Bot Docker Image / docker (push) Has been cancelled
Publish Docker Image / docker (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Fork goose with custom MCP widgets, platform extensions (aider, git, web, search), MindSpace H5 backend/frontend, Plaza/Ops UIs, and deploy scripts for tkmind.cn. Co-authored-by: Cursor <cursoragent@cursor.com>
64 lines
3.1 KiB
Markdown
64 lines
3.1 KiB
Markdown
---
|
||
sidebar_position: 1
|
||
title: Plaza 发现广场概览
|
||
sidebar_label: 概览
|
||
description: Plaza 是 MindSpace 的内容发现平台,用户可以将生成的页面发布到广场,供全网用户浏览、点赞、评论和关注。
|
||
---
|
||
|
||
# Plaza 发现广场
|
||
|
||
## 产品定位
|
||
|
||
Plaza 是 MindSpace 的公开内容发现平台。
|
||
|
||
MindSpace 解决"AI 结果的生产和保管",Plaza 解决"AI 结果的传播和发现"。两者形成完整闭环:
|
||
|
||
```text
|
||
MindSpace Plaza
|
||
────────────────────────────── ──────────────────────────────
|
||
上传文件 → AI 处理 → 生成页面 → 发布到广场 → 被发现 → 被关注
|
||
保存草稿 → 卡片展示 → 点赞评论 → 吸引新用户注册
|
||
```
|
||
|
||
## 核心价值
|
||
|
||
- **创作者**:一键将 MindSpace 页面发布到广场,获得公开曝光和访问统计。
|
||
- **浏览者**:发现高质量 AI 生成内容,按分类浏览,关注感兴趣的创作者。
|
||
- **平台**:每个公开页面底部带「用 MindSpace 制作 →」水印,形成病毒式增长入口。
|
||
|
||
## 与 MindSpace 的关系
|
||
|
||
Plaza 是独立的 Next.js 前端应用,与 MindSpace H5 并列部署,共用同一套后端 API 服务和数据库。
|
||
|
||
```text
|
||
浏览器访问 go.tkmind.cn
|
||
│
|
||
├── /plaza、/u/ → Next.js SSR(Plaza,port 3001)
|
||
├── /ops → 运营后台 SPA(port 3002,内网访问)
|
||
├── /api → Node.js 后端(port 18006,共用)
|
||
└── / → MindSpace H5 SPA(port 8080)
|
||
```
|
||
|
||
## 文档目录
|
||
|
||
| 文档 | 内容 |
|
||
| --- | --- |
|
||
| [01-architecture](./01-architecture) | 系统架构、技术选型、部署结构 |
|
||
| [02-data-model](./02-data-model) | 数据库表设计、字段说明、索引策略 |
|
||
| [03-frontend](./03-frontend) | Next.js 前端架构、页面规范、组件设计 |
|
||
| [04-backend-api](./04-backend-api) | 后端 API 契约、路由设计、权限规则 |
|
||
| [05-feed-algorithm](./05-feed-algorithm) | 热度排序算法、推荐演化路径 |
|
||
| [06-ops-platform](./06-ops-platform) | 运营后台功能、审核流程、权限设计 |
|
||
| [07-seo](./07-seo) | SEO 策略、Open Graph、静态化规则 |
|
||
| [08-development-guide](./08-development-guide) | 开发规范、启动方式、Sprint 拆分 |
|
||
| [09-testing](./09-testing) | 测试要求、权限矩阵、E2E 场景 |
|
||
| [10-implementation-status](./10-implementation-status) | 实现进度、任务拆分、当前 Sprint |
|
||
|
||
## 关键原则
|
||
|
||
- Plaza 的数据库表以 `plaza_` 前缀隔离;逻辑上的 users/publications 对应 `h5_users` / `h5_publish_records`。
|
||
- 公开路由(`/plaza`、`/u/`)全部服务端渲染,爬虫可直接读取完整 HTML。
|
||
- 运营操作有独立权限角色和操作日志,不与系统管理员混用。
|
||
- 广场互动数据异步回写到 `h5_publish_records.plaza_*` 统计字段(共用 DB 定时任务,不 import MindSpace service)。
|
||
- 广场帖子下线必须联动 publication 状态检查,在 `mindspace-publications` 事务内保证一致性。
|