From 1e9bd900e9901804ecf26cbb838d15e75a1e85b5 Mon Sep 17 00:00:00 2001 From: kongfei Date: Wed, 31 Aug 2022 17:55:26 +0800 Subject: [PATCH] update notify.py --- docker/n9eetc/script/notify.py | 5 +++++ etc/script/notify.py | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/docker/n9eetc/script/notify.py b/docker/n9eetc/script/notify.py index 8411e956..f5c24eb9 100755 --- a/docker/n9eetc/script/notify.py +++ b/docker/n9eetc/script/notify.py @@ -23,6 +23,11 @@ class Sender(object): def send_feishu(cls, payload): # already done in go code pass + + @classmethod + def send_mm(cls, payload): + # already done in go code + pass @classmethod def send_sms(cls, payload): diff --git a/etc/script/notify.py b/etc/script/notify.py index 8411e956..d57bdfa6 100755 --- a/etc/script/notify.py +++ b/etc/script/notify.py @@ -24,6 +24,11 @@ class Sender(object): # already done in go code pass + @classmethod + def send_mm(cls, payload): + # already done in go code + pass + @classmethod def send_sms(cls, payload): users = payload.get('event').get("notify_users_obj")