Files
ai_site/test/README.md
2026-07-31 10:31:17 +08:00

30 lines
1.3 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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`