var botData = {
"msgtype": "text",
"text": {
"content": "休息一下马上回来~~~嗖嗖~~~"
}
};
$.ajax({
url: ("https://机器人地址:webhook"),
type: 'post',
dataType: 'json',
data: JSON.stringify(botData),
success: function(res){
console.log(res)
if (res.code === 200) {
}
},
error: function(e) {
}
});