#!/bin/bash
sendmessage() {
#添加自己的钉钉机器人的access_token
access_token=curl \
"https://oapi.dingtalk.com/robot/send?\
access_token=$access_token" \
-H 'Content-Type: application/json' \
-d '{"msgtype": "text", "text": {
"content": "'$1'"
}}'
}
sendmessage hello
文章转载自一直爱流浪的猫,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




