|
@@ -14,8 +14,8 @@ def send_card_msg_to_feishu(webhook, card_json):
|
|
|
"card": card_json
|
|
"card": card_json
|
|
|
}
|
|
}
|
|
|
print(f"推送飞书消息webhook地址 - {webhook}, 消息内容: {json.dumps(payload_message, indent=4, ensure_ascii=False)}")
|
|
print(f"推送飞书消息webhook地址 - {webhook}, 消息内容: {json.dumps(payload_message, indent=4, ensure_ascii=False)}")
|
|
|
- response = requests.request('POST', url=webhook, headers=headers, data=json.dumps(payload_message))
|
|
|
|
|
- print(f"推送飞书消息返回结果: {response.text}")
|
|
|
|
|
|
|
+ # response = requests.request('POST', url=webhook, headers=headers, data=json.dumps(payload_message))
|
|
|
|
|
+ # print(f"推送飞书消息返回结果: {response.text}")
|
|
|
|
|
|
|
|
|
|
|
|
|
def timestamp_format(timestamp: str) -> str:
|
|
def timestamp_format(timestamp: str) -> str:
|