feat(notification): 新增 PushPlusPlus 通知支持

- 在 notification.js 中添加 PushPlusPlus 通知提供商
- 在 NotificationDialog.vue 中添加 PushPlusPlus 选项
- 在 notifications/index.js 中导入并注册 PushPlusPlus 组件
This commit is contained in:
Teror Fox
2025-03-22 13:40:19 +08:00
parent f50e26edd6
commit 6f72ddbb72
5 changed files with 64 additions and 1 deletions

View File

@@ -182,6 +182,7 @@ export default {
"SMSManager": "SmsManager (smsmanager.cz)",
"WeCom": "WeCom (企业微信群机器人)",
"ServerChan": "ServerChan (Server酱)",
"PushPlusPlus": "PushPlusPlus(推送加)",
"smsc": "SMSC",
"WPush": "WPush(wpush.cn)",
"YZJ": "YZJ (云之家自定义机器人)"

View File

@@ -0,0 +1,16 @@
<template>
<div class="mb-3">
<label for="pushplusplus-sendkey" class="form-label">{{ $t("SendKey") }}</label>
<HiddenInput id="pushplusplus-sendkey" v-model="$parent.notification.pushPlusPlusSendKey" :required="true" autocomplete="new-password"></HiddenInput>
</div>
</template>
<script>
import HiddenInput from "../HiddenInput.vue";
export default {
components: {
HiddenInput,
},
};
</script>

View File

@@ -39,6 +39,7 @@ import PromoSMS from "./PromoSMS.vue";
import Pushbullet from "./Pushbullet.vue";
import PushDeer from "./PushDeer.vue";
import Pushover from "./Pushover.vue";
import PushPlusPlus from "./PushPlusPlus.vue";
import Pushy from "./Pushy.vue";
import RocketChat from "./RocketChat.vue";
import ServerChan from "./ServerChan.vue";
@@ -116,6 +117,7 @@ const NotificationFormList = {
"PushByTechulus": TechulusPush,
"PushDeer": PushDeer,
"pushover": Pushover,
"pushplusplus": PushPlusPlus,
"pushy": Pushy,
"rocket.chat": RocketChat,
"serwersms": SerwerSMS,