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")