shell机器人企业微信通知
vi test.shcurl 那行是机器人webbook#/bin/bashcurl 'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=cd462b46-a552-422b-3123-2313111331231231' \-H 'Content-Type: application/json' \-d '{"msgtype": "text",
·
vi test.sh
curl 那行是机器人webbook
#/bin/bash
curl 'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=cd462b46-a552-422b-3123-2313111331231231' \
-H 'Content-Type: application/json' \
-d '
{
"msgtype": "text",
"text": {
"content": "test\n [爱心]请点击以下链接\nhttps://123.com/projects\n[嘿哈][嘿哈]",
"mentioned_list":["ALL"]
}
}'
ALL改@ALL 会@所有人
chmod +x test.sh
./test.sh
其它格式https://work.weixin.qq.com/api/doc/90000/90135/90236
DAMO开发者矩阵,由阿里巴巴达摩院和中国互联网协会联合发起,致力于探讨最前沿的技术趋势与应用成果,搭建高质量的交流与分享平台,推动技术创新与产业应用链接,围绕“人工智能与新型计算”构建开放共享的开发者生态。
更多推荐
所有评论(0)