{{ toast.msg }}
加载中...
{{ stats.today_total }}
今日接收
{{ stats.today_blocked }}
今日拦截
{{ stats.top_app }}
最频繁来源
加载规则中...

{{ rule.name }}

{{ getSourceName(rule.source_id) }} {{ countValidChannels(rule.target_channel_ids) }} 通道
{{ rule.use_regex ? '/' + kw.word + '/' : kw.word }}
正则模式 {{ rule.time_range.start }}-{{ rule.time_range.end }} 逻辑: {{ rule.logic_type }}
加载来源中...
{{ src.name }} 路径: {{ src.path || '(默认)' }} · {{ src.parser_mode === 'raw' ? 'Raw' : 'Auto' }}
{{ serverUrl }}/api/webhook/{{ src.path || '' }}
加载通道中...
{{ chan.name }} {{ chan.type }}
{{ (chan.config.server_url || 'https://api.day.app') }}/{{ chan.config.bark_key }} CorpID: {{ chan.config.corp_id }} · AgentID: {{ chan.config.agent_id }} {{ chan.config.webhook_url }} {{ chan.config.webhook_url }} {{ chan.config.webhook_url }} {{ chan.config.chat_id }} {{ chan.config.smtp_user }} → {{ chan.config.to }} {{ chan.config.webhook_url }}
{{ log.app_name }} {{ formatTime(log.created_at) }}
{{ log.title }}: {{ log.content }}
{{ getSourceName(log.source_id) }}
{{ getChannelNamesByRule(log.rule_name) }} 已转发
系统拦截 已拦截
暂无流转记录
{{ levelLabel(sl.level) }}
{{ sl.msg }} {{ formatTime(sl.time) }}
{{ sl.detail }}
暂无系统日志 · 系统运行正常

{{ editForm.id ? '编辑策略' : '新建策略' }} {{ channelForm.id ? '编辑推送通道' : '新增推送通道' }} {{ sourceForm.id ? '编辑来源映射' : '配置数据来源' }} 配置中心

暂无规则
{{ chan.name }}
如何使用模板?

使用 {{变量名}} 插入消息字段,点击下方标签快速插入:

{{ f.key }}

示例: {{title}} 显示消息标题,{{metadata.xxx}} 取原始数据中的 xxx 字段。

调用时 URL 为:{{ serverUrl }}/api/webhook/{{ sourceForm.path || '(默认)' }}
auto 模式自动识别 title/content/appName 等字段,其余数据保留在 metadata 中。raw 模式仅存原始请求体,由规则引擎提取字段。