feat(admin): 添加管理员评论密钥功能和安全设置

- 在管理后台添加管理员评论密钥设置,前台管理员评论需验证
- 新增安全设置区块,包含允许调用域名和管理员密钥配置
- 更新相关API文档和前端配置说明
- 调整评论配置接口返回字段,增加密钥相关字段
This commit is contained in:
anghunk
2026-01-20 17:06:33 +08:00
parent 5fdbc5077b
commit 23c27d9562
6 changed files with 54 additions and 21 deletions

View File

@@ -31,8 +31,9 @@
<label class="form-label">头像前缀默认https://gravatar.com/avatar</label>
<input v-model="avatarPrefix" class="form-input" type="text" />
</div>
<h3 class="card-title">安全设置</h3>
<div class="form-item">
<label class="form-label">允许调用的域名多个域名用逗号分隔留空则不限制</label>
<label class="form-label">允许调用的域名多个域名用逗号分隔留空则不限制设置后仅匹配域名可调用前台评论组件</label>
<textarea
v-model="allowedDomains"
class="form-input"