feat: add vocechat push #82

This commit is contained in:
duorameng
2026-04-14 22:01:23 +08:00
parent 8e12d15634
commit 73dd6cc4eb
7 changed files with 110 additions and 2 deletions
+7
View File
@@ -117,6 +117,13 @@ const channelConfigFields: Record<string, { key: string; label: string; required
{ key: 'callback_url', label: '回调地址', required: false },
{ key: 'to', label: '好友令牌', required: false },
],
VoceChat: [
{ key: 'server', label: '服务地址', required: true, placeholder: 'https://vocechat.yourdomain.com' },
{ key: 'api_key', label: 'API Key', required: true, placeholder: 'Bot API Key' },
{ key: 'target_id', label: '目标 ID', required: true, placeholder: 'uid 或 gid' },
{ key: 'target_type', label: '目标类型', required: false, placeholder: 'user (默认) / group' },
{ key: 'note', label: '说明', required: false, placeholder: '当前仅支持 text/plain', type: 'note' },
],
}
// 加载数据