whyour / qinglong

支持 Python3、JavaScript、Shell、Typescript 的定时任务管理平台(Timed task management platform supporting Python3, JavaScript, Shell, Typescript)
https://qinglong.online
Apache License 2.0
16.33k stars 2.99k forks source link

[教程] 使用自定义通知功能实现 WxPusher 消息推送的配置教程 #2580

Closed FanchangWang closed 14 hours ago

FanchangWang commented 4 days ago

Clear and concise description of the problem

说明

使用自定义通知功能实现 WxPusher 消息推送的配置教程

配置

配置文件中修改以下内容即可。(注意将 appToken & uids 换成你自己的)

export WEBHOOK_URL="https://wxpusher.zjiecode.com/api/send/message"
export WEBHOOK_BODY="appToken: 你自己的appToken"$'\n'"uids: [\"要接收消息的UID_XXX\"]"$'\n'"content: <h1>\$title</h1><br/><p>\$content</p>"$'\n'"summary: \$title"
export WEBHOOK_HEADERS="Content-Type:application/json"
export WEBHOOK_METHOD="POST"
export WEBHOOK_CONTENT_TYPE="application/json"

Suggested solution

Alternative

No response

Additional context

No response

Validations

whyour commented 14 hours ago

看是否可以补充到 https://qinglong.online/