mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-04-13 17:52:28 +08:00
18 lines
550 B
Python
18 lines
550 B
Python
from app.helper.servicebase import ServiceBaseHelper
|
|
from app.schemas import NotificationConf
|
|
from app.schemas.types import SystemConfigKey
|
|
|
|
|
|
class NotificationHelper(ServiceBaseHelper[NotificationConf]):
|
|
"""
|
|
消息通知帮助类
|
|
"""
|
|
|
|
def __init__(self):
|
|
super().__init__(
|
|
config_key=SystemConfigKey.Notifications,
|
|
conf_type=NotificationConf,
|
|
modules=["WechatModule", "WebPushModule", "VoceChatModule", "TelegramModule", "SynologyChatModule",
|
|
"SlackModule"]
|
|
)
|