vault backup: 2026-11-09 09:52:30

This commit is contained in:
admin committed 2026-11-09 09:52:30 +08:00
1 parent 5022dc27b2
commit d58a4b3fa9
4 files changed
+88 -8

No files matched your search

+24 -2
View File
@@ -48,15 +48,37 @@ webhook 的 URL 本身就是密码:拿到 URL 的任何人都能往你群里
- 只想要本地弹窗/声音:默认即可。
- 想推到手机/群里:编辑 `config.json` 的 `webhooks` 数组,加一条即可,支持:
| type | url 说明 |
| type | 说明 |
|---|---|
| `feishu` | 飞书群 → 添加自定义机器人,复制 webhook 地址 |
| `wecom` | 企业微信群机器人地址 |
| `wecom` | 企业微信群机器人地址(群内至少要有两人,或管理员建应用) |
| `wecomapp` | **企业微信自建应用**:推给自己单聊,最干净。需管理员后台建应用,填 `corpid`/`corpsecret`/`agentid`,`touser` 填你的企微 UserID |
| `dingtalk` | 钉钉自定义机器人地址 |
| `bark` | `https://api.day.app/你的KEY`(iPhone 锁屏推送,推荐) |
| `ntfy` | ntfy 主题地址,如 `https://ntfy.sh/你的主题` |
| `email` | 邮件(QQ/163 SMTP),微信有邮件提醒,等于推到手机 |
| `serverchan` | `https://sctapi.ftqq.com/你的KEY.send` |
| `custom` | 任意 URL,可选 `method`/`headers`/`body`,body 里可用 `{{title}}` `{{text}}` |
邮件示例(QQ 邮箱要先去设置里开 SMTP 并拿**授权码**,不是登录密码):
```json
"webhooks": [
{ "type": "email", "smtp": "smtp.qq.com", "port": 465,
"from": "你的QQ号@qq.com", "to": "你的QQ号@qq.com", "passEnv": "MAIL_PASS" }
]
```
企微自建应用示例:
```json
"webhooks": [
{ "type": "wecomapp", "corpid": "ww1234abcd", "corpsecret": "env:WECOM_APP_SECRET",
"agentid": 1000002, "touser": "你的UserID" }
]
```
示例:
```json