feat: add WPUSH notification provider (#3066)

Add WPUSH as a notification channel for Qinglong panel settings and
sample notify scripts (Python/JS), using POST https://api.wpush.cn/api/v1/send
with success code === 0. Supports optional channel and topic_code.
This commit is contained in:
Alone88
2026-09-13 00:50:56 +08:00
committed by GitHub
parent a94e665054
commit 841740f19a
8 changed files with 168 additions and 3 deletions
+22
View File
@@ -82,6 +82,7 @@ export default {
{ value: 'wxPusherBot', label: 'wxPusher' },
{ value: 'wxPusherSpt', label: 'WxPusher(极简推送SPT-推荐)' },
{ value: 'openiLink', label: 'OpeniLink' },
{ value: 'wpush', label: 'WPUSH' },
{ value: 'chat', label: intl.get('群晖chat') },
{ value: 'email', label: intl.get('邮箱') },
{ value: 'lark', label: intl.get('飞书机器人') },
@@ -378,6 +379,27 @@ export default {
required: true,
},
],
wpush: [
{
label: 'wpushApiKey',
tip: intl.get(
'WPUSH的API Key,在 https://wpush.cn/settings 获取,参考 https://wpush.cn/docs',
),
required: true,
},
{
label: 'wpushChannel',
tip: intl.get(
'推送渠道,支持 wechat/app/sms/mail/webhook/dingtalk/feishu/wechat_work/clawbot/qqbot,默认 wechat',
),
},
{
label: 'wpushTopicCode',
tip: intl.get(
'可选,Topic 广播编码;填写后按 Topic 推送,参考 https://wpush.cn/docs',
),
},
],
openiLink: [
{
label: 'openiLinkAppToken',