refactor(homepage): 官网/文档/定价源码迁出程序 + 新增独立授权与激活页 /license
- 官网源码归拢到 homepage/(index/pricing/terms/license + content/ + assets/ + docs-assets/),
删除程序内 go:embed 的 server/internal/{site,docs},后端仅静态托管 homepage/dist 做本地预览
- 新增独立静态页 /license(授权与激活):交付与激活四步(邮件交付授权码)、
在线授权码 LIC- 与离线许可证 LICOFF- 对比、授权服务器 licence.rlwj.cn 通信范围说明、
授权类型与价格、10 条授权 FAQ
- tools/homepage-build 支持可选单页,产出 <name>.html 与 <name>/index.html
- 导航/页脚接入 /license,跨页锚点补 / 前缀,页脚底栏文案同步为静态站口径
This commit is contained in:
1 parent
327a265572
commit
3cb9545121
49 files changed
+1308
-600
No files matched your search
Vendored
+5
-5
@@ -139,9 +139,9 @@
|
||||
<div class="page-meta">更新于 2026-09-17</div>
|
||||
<article class="md">
|
||||
<h1>AI 助手</h1>
|
||||
<p>接入 <strong>OpenAI 兼容协议</strong>的大模型,为接口调试与自动化测试提供 AI 能力。密钥只保存在本机(localStorage),请求直连供应商,不经过任何第三方中转。</p>
|
||||
<p>接入 <strong>OpenAI 兼容协议</strong>的大模型,为自动化测试提供 AI 能力。模型调用直连供应商;供应商配置(包括密钥)随当前工作区保存,团队工作区会同步工作区数据。</p>
|
||||
<h2 id="sec-1">配置模型供应商</h2>
|
||||
<p><strong>设置 → AI 助手 → 模型供应商</strong>,点「添加供应商」,内置常用预设:</p>
|
||||
<p><strong>设置 → 大模型</strong>,选择预设并点击「+」,在右侧填写模型 ID、密钥和 Base URL,测试连接后点击「保存配置」。内置常用预设:</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -180,8 +180,8 @@
|
||||
</table>
|
||||
<ul>
|
||||
<li><strong>API Key</strong>:Ollama 等本地服务可留空;</li>
|
||||
<li><strong>测试连接</strong>:保存前先发一条 ping 验证地址 / 密钥 / 模型名;</li>
|
||||
<li>多个供应商时可切换「当前使用」的模型。</li>
|
||||
<li><strong>测试连接</strong>:发一条 ping 验证地址 / 密钥 / 模型名;离线时也可先保存,之后再测试;</li>
|
||||
<li>多个供应商时可在左侧选择,保存后点「设为默认」指定自动化测试使用的模型。</li>
|
||||
</ul>
|
||||
<h2 id="sec-2">AI 生成场景用例</h2>
|
||||
<p>自动化测试视图 →「<strong>AI 生成</strong>」:</p>
|
||||
@@ -194,7 +194,7 @@
|
||||
<p>生成结果只是起点 —— 步骤、断言、提取规则都可再手动调整。</p>
|
||||
<h2 id="sec-3">隐私与边界</h2>
|
||||
<ul>
|
||||
<li>API Key 仅存本机,随工作区数据一起持久化;导出全量备份时会包含,分享备份文件前请注意;</li>
|
||||
<li>API Key 随当前工作区数据保存;团队工作区会同步,导出全量备份时也会包含。分享工作区或备份文件前请检查密钥;</li>
|
||||
<li>供应商收到的内容为接口清单摘要(方法 / URL / Body 片段)与你的指令,<strong>不含</strong>环境变量值与 API Key;</li>
|
||||
<li>未配置供应商时,Mock 数据、环境变量等离线功能不受影响。</li>
|
||||
</ul>
|
||||
|
||||
Reference in new issue
Block a user