luojunhui 6 месяцев назад
Родитель
Сommit
25a8f76167
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      applications/feishuBotApi.py

+ 1 - 1
applications/feishuBotApi.py

@@ -16,7 +16,7 @@ def bot(title, detail, mention=True):
         "content": "{}<at id=all></at>\n".format(title) if mention else "{}\n".format(title),
         "tag": "lark_md",
     }
-    head_title = "【重点关注】" if mention else "【 普通通知 】"
+    head_title = "【重点关注】" if mention else "【普通通知】"
     url = "https://open.feishu.cn/open-apis/bot/v2/hook/b44333f2-16c0-4cb1-af01-d135f8704410"
     headers = {"Content-Type": "application/json"}
     payload = {