#!/bin/bash feiShu_Pusher() { CODE=$1 #容器编号 MESSAGE=$2 #推送内容 URL=https://open.feishu.cn/open-apis/bot/v2/hook/29f15345-118d-4390-b2e3-7df4d9301546 curl -X POST -H "Content-Type: application/json" \ -d '{"msg_type":"text","content":{"text":"['容器:${CODE}']:'${MESSAGE}'"}}' \ ${URL} } feiShu_Pusher $1 $2