mirror of
https://github.com/whyour/qinglong.git
synced 2025-11-10 00:26:09 +08:00
自定义通知测试通知正常发送电报机器人正常发送但正常执行就是不响应 不知道有没有其他深意防止我调用自定义请求出问题于是写了调试(注释掉了) 调试信息 - webhookNotify: 传入的标题 (text): xxx 签到结果 传入的内容 (desp): ℹ️ xxx 今日已签到,无需重复签到 相信十年后的八月,我们还会相遇。 ----未闻花名 Webhook URL: https://tz.wd123456789095r.workers.dev/webhook?tk=qlmb123456a Webhook BODY: type: 青龙面板 title: $ content: Webhook HEADERS: Webhook METHOD: POST Webhook CONTENT TYPE: application/json Webhook URL及内容标题无效,跳过推送 于是 解析并替换 BODY 中的占位符: $title / $text => 消息标题 text $content / $desp => 消息内容 desp $ => 向下兼容的写法,替换为 text 稍微兼容了一下其他的不知道有没有问题 建议稍微检查一下其他通知形式有没有类似问题 |
||
|---|---|---|
| .. | ||
| auth.sample.json | ||
| config.sample.sh | ||
| extra.sample.sh | ||
| notify.js | ||
| notify.py | ||
| notify.py.save | ||
| ql_sample.js | ||
| ql_sample.py | ||
| task.sample.sh | ||
| tool.ts | ||