From ae4c4070da0e383288259a2aed5a24e932c07392 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=83=E7=9F=B3?= Date: Sat, 4 Jan 2025 11:12:27 +0800 Subject: [PATCH] Create feishu_notify.sh --- feishu_notify.sh | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 feishu_notify.sh diff --git a/feishu_notify.sh b/feishu_notify.sh new file mode 100644 index 0000000..9639bb0 --- /dev/null +++ b/feishu_notify.sh @@ -0,0 +1,43 @@ +#!/bin/bash + +# 参数获取 +WEBHOOK_URL="$1" +TITLE="$2" +CONTENT="$3" + +# 飞书通知 +send_feishu_notification() { + local message=$(cat <