Jelajahi Sumber

feat:放开飞书通知

zhaohaipeng 5 bulan lalu
induk
melakukan
84a17e62e1
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      ad/ad_monitor_util.py

+ 2 - 2
ad/ad_monitor_util.py

@@ -38,8 +38,8 @@ def send_card_msg_to_feishu(webhook, card_json):
         "card": card_json
     }
     print(f"推送飞书消息内容: {json.dumps(payload_message)}")
-    # response = requests.request('POST', url=webhook, headers=headers, data=json.dumps(payload_message))
-    # print(response.text)
+    response = requests.request('POST', url=webhook, headers=headers, data=json.dumps(payload_message))
+    print(response.text)
 
 
 def timestamp_format(timestamp: str) -> str: