comm="要发送的内容"
curl 'https://oapi.dingtalk.com/robot/send?access_token=xxxxxxxxxxxx' \
-H 'Content-Type: application/json' \
-d "{'msgtype': 'text','text': {'content':\"升级命令: ${comm}\"}}"
点击跳转 钉钉群聊 机器人 官方文档
comm="要发送的内容"
curl 'https://oapi.dingtalk.com/robot/send?access_token=xxxxxxxxxxxx' \
-H 'Content-Type: application/json' \
-d "{'msgtype': 'text','text': {'content':\"升级命令: ${comm}\"}}"
点击跳转 钉钉群聊 机器人 官方文档