luojunhui 12 hours ago
parent
commit
1351e970f8
1 changed files with 5 additions and 0 deletions
  1. 5 0
      applications/api/async_feishu_api.py

+ 5 - 0
applications/api/async_feishu_api.py

@@ -15,6 +15,9 @@ class Feishu:
     # 测试环境报警机器人
     long_articles_bot_dev = "https://open.feishu.cn/open-apis/bot/v2/hook/f32c0456-847f-41f3-97db-33fcc1616bcd"
 
+    # 长文任务报警群
+    long_articles_task_bot = "https://open.feishu.cn/open-apis/bot/v2/hook/223b3d72-f2e8-40e0-9b53-6956e0ae7158"
+
     def __init__(self):
         self.token = None
         self.headers = {"Content-Type": "application/json"}
@@ -201,6 +204,8 @@ class FeishuBotApi(Feishu):
                 url = self.outside_gzh_monitor_bot
             case "server_account_publish_monitor":
                 url = self.server_account_publish_monitor_bot
+            case "long_articles_task":
+                url = self.long_articles_task_bot
             case _:
                 url = self.long_articles_bot_dev