chore: initial commit of ai site platform

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
whm
2026-07-31 10:19:22 +08:00
commit 6366859bb3
222 changed files with 47313 additions and 0 deletions

29
test/README.md Normal file
View File

@@ -0,0 +1,29 @@
# test 联调素材(无代码)
本目录**只放某一业务的示例素材**,用于验证通用系统能否按上传内容还原。
**系统本身不绑定任何行业**;文案、图例、字段、坐标方向一律来自蓝图 / 上传,不写死在产品代码里。
```
test/
prompts/ 需求说明(研发对照)
refs/ 参考截图 + 页面 HTML
data/ 可上传数据 / 抓包
_out/ 临时验收截图(可删)
```
## 控制台怎么用
登录 → 上传下列素材 → 生成 → 发布 → 打开应用。换另一套业务时,只换素材,无需改系统代码。
| 素材 | 路径 |
|------|------|
| 数据 | `data/whm_articles.xlsx` / `whm_articles.csv` / `whm_articles.json`(企业官网文章样例,可导入模块 `whm` |
| 其它数据 | `data/url.config``data/chart_source.json` |
| 截图 | `refs/board_a.png``refs/board_b.png` |
| 页面源码 | `refs/nav.html``refs/dashboard.html` |
| 说明(可选) | `prompts/prompt.txt` + `prompts/prompt_1.txt` |
### 往已发布模块灌数
登录控制台 → 打开模块 `whm` → 文章列表 →「导入 Excel」→ 选 `data/whm_articles.xlsx`(或 `.csv`)。
字段:`title` / `content` / `status`(草稿|已发布)/ `created_at`