#!/bin/bash
a=ceshi
wx_web(){
cat > sendweb.sh<< EOF
curl 'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=111d7e0b-a573-483f-9a65-40XX182b622a' \
-H 'Content-Type: application/json' \
-d '
{
"msgtype": "text",
"text": {
"content": "$a",
}
}'
EOF
sh sendweb.sh && rm -rf sendweb.sh
}
wx_web
网友评论