|
@@ -38,8 +38,8 @@ def send_card_msg_to_feishu(webhook, card_json):
|
|
"card": card_json
|
|
"card": card_json
|
|
}
|
|
}
|
|
print(f"推送飞书消息内容: {json.dumps(payload_message)}")
|
|
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:
|
|
def timestamp_format(timestamp: str) -> str:
|