mirror of
https://github.com/whyour/qinglong.git
synced 2026-10-17 07:20:51 +08:00
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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user