Bläddra i källkod

修改报警机器人

luojunhui 1 månad sedan
förälder
incheckning
f862e962a3
2 ändrade filer med 4 tillägg och 2 borttagningar
  1. 2 1
      applications/api/feishu_api.py
  2. 2 1
      applications/feishuBotApi.py

+ 2 - 1
applications/api/feishu_api.py

@@ -10,7 +10,8 @@ class Feishu:
     outside_gzh_monitor_bot = "https://open.feishu.cn/open-apis/bot/v2/hook/0899d43d-9f65-48ce-a419-f83ac935bf59"
 
     # 长文 daily 报警机器人
-    long_articles_bot = "https://open.feishu.cn/open-apis/bot/v2/hook/b44333f2-16c0-4cb1-af01-d135f8704410"
+    # long_articles_bot = "https://open.feishu.cn/open-apis/bot/v2/hook/b44333f2-16c0-4cb1-af01-d135f8704410"
+    long_articles_bot = "https://open.feishu.cn/open-apis/bot/v2/hook/223b3d72-f2e8-40e0-9b53-6956e0ae7158"
 
     # 测试环境报警机器人
     long_articles_bot_dev = "https://open.feishu.cn/open-apis/bot/v2/hook/f32c0456-847f-41f3-97db-33fcc1616bcd"

+ 2 - 1
applications/feishuBotApi.py

@@ -112,7 +112,8 @@ def bot(title, detail, mention=True, table=False):
     """
     报警机器人
     """
-    url = "https://open.feishu.cn/open-apis/bot/v2/hook/b44333f2-16c0-4cb1-af01-d135f8704410"
+    # url = "https://open.feishu.cn/open-apis/bot/v2/hook/b44333f2-16c0-4cb1-af01-d135f8704410"
+    url = "https://open.feishu.cn/open-apis/bot/v2/hook/223b3d72-f2e8-40e0-9b53-6956e0ae7158"
     # url = "https://open.feishu.cn/open-apis/bot/v2/hook/f32c0456-847f-41f3-97db-33fcc1616bcd"
     headers = {"Content-Type": "application/json"}
     if table: