|
@@ -12,6 +12,9 @@ class Feishu:
|
|
|
# 测试环境报警机器人
|
|
|
long_articles_bot_dev = "https://open.feishu.cn/open-apis/bot/v2/hook/f32c0456-847f-41f3-97db-33fcc1616bcd"
|
|
|
|
|
|
+ # 公众号监测机器人
|
|
|
+ gzh_monitor_bot = "https://open.feishu.cn/open-apis/bot/v2/hook/05848957-70e7-4283-b2ec-843c40aa543d"
|
|
|
+
|
|
|
def __init__(self):
|
|
|
self.token = None
|
|
|
self.headers = {"Content-Type": "application/json"}
|
|
@@ -192,6 +195,8 @@ class FeishuBotApi(Feishu):
|
|
|
url = self.long_articles_bot
|
|
|
case "outside_gzh_monitor":
|
|
|
url = self.outside_gzh_monitor_bot
|
|
|
+ case "gzh_monitor_bot":
|
|
|
+ url = self.gzh_monitor_bot
|
|
|
case _:
|
|
|
url = self.long_articles_bot_dev
|
|
|
|