Files
abot/admin/dashboard/config.toml
liuwei ace2af7dba feat(webhook): 新增TrendRadar webhook适配入口
- 新增 /webhook/trendradar 接口,支持TrendRadar通用Webhook推送

- 支持 token 校验、默认目标群配置、可选payload覆盖目标群

- 将Webhook蓝图注册到Dashboard服务,并补充配置项

- 新增对接说明文档,提供TrendRadar环境变量模板示例
2026-04-21 16:27:55 +08:00

20 lines
574 B
TOML
Raw 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.
[server]
host = "0.0.0.0"
port = 8888
[auth]
username = "admin"
password = "admin123"
[trendradar_webhook]
# 是否启用 TrendRadar webhook 适配接口
enabled = false
# 固定 token建议配置支持请求头 X-Webhook-Token / query token / payload.token 三种传法
token = "replace_with_strong_token"
# 默认推送目标群(可配置多个)
default_group_ids = []
# 是否允许 payload 覆盖目标群(开启后可通过 target_group_ids/group_id 指定)
allow_payload_target_groups = false
# 单群发送超时(秒)
send_timeout_seconds = 20