|
@@ -2,7 +2,7 @@ import requests
|
|
|
|
|
|
|
|
|
class FeishuBot:
|
|
|
- webhook_url = "https://open.feishu.cn/open-apis/bot/v2/hook/926982f5-e7af-40f5-81fd-27d8f42718e4"
|
|
|
+ webhook_url = "https://open.feishu.cn/open-apis/bot/v2/hook/cbf0bc0f-994a-489b-9f77-de0c5be107cd"
|
|
|
|
|
|
def send_message(self, message_text):
|
|
|
headers = {'Content-Type': 'application/json'}
|
|
@@ -13,3 +13,10 @@ class FeishuBot:
|
|
|
response = requests.post(self.webhook_url, json=data, headers=headers)
|
|
|
response.raise_for_status()
|
|
|
return response.json()
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|