钉钉设置:
1、创建群聊
2、群聊设置自定义机器人:
3、获取webhook地址
4、写代码:
public class MessageService {
public static String url = "https://oapi.dingtalk.com/robot/send?access_token=****";
public static String keyWords = "监控信息:";
public static String sendMessage
钉钉设置:
1、创建群聊
2、群聊设置自定义机器人:
3、获取webhook地址
4、写代码:
public class MessageService {
public static String url = "https://oapi.dingtalk.com/robot/send?access_token=****";
public static String keyWords = "监控信息:";
public static String sendMessage