Browse Source

增加dockerfile

李莎 2 years ago
parent
commit
1ecc59c3cf
1 changed files with 7 additions and 0 deletions
  1. 7 0
      Utils/Dingtalk.py

+ 7 - 0
Utils/Dingtalk.py

@@ -0,0 +1,7 @@
+from  dingtalkchatbot.chatbot import DingtalkChatbot
+
+def send_message(message,dingtalk):
+    webhook = dingtalk
+    xiaoding = DingtalkChatbot(webhook)
+    xiaoding.send_text(msg=message)
+    return