天天看点

对接钉钉审批_还在手打消息,流程审批?看看这款工具

对接钉钉sdk,自动发送文本消息、链接消息、卡片消息、跳转审批消息,可以@所有人

超级方便的API接口。

演示使用工具发送消息代码:

@RequestMapping(value = "/sendmarkdown",method = { RequestMethod.POST})    @ResponseBody    @CrossOrigin(origins = "*", maxAge = 3600)    public HashMap sendcard(@RequestParam("title") String title,@RequestParam("content") String content,@RequestParam("mobileList") String mobileList, @RequestParam("isatall") Boolean isatall) {        List phone=new ArrayList<>();        HashMap result = new HashMap<>();        try {            //将手机号码拆分成列表            String[] phonelist=mobileList.split(",");            if (phonelist.length>0){                for (int i=0;i
           

创建自己的团队后添加机器人

对接钉钉审批_还在手打消息,流程审批?看看这款工具

查找机器人

对接钉钉审批_还在手打消息,流程审批?看看这款工具

查看api接口

将项目的依赖jar包引入项目 com-dingtalk-api-1.0.0.jar

对接钉钉审批_还在手打消息,流程审批?看看这款工具

添加依赖库

对接钉钉审批_还在手打消息,流程审批?看看这款工具

添加本地依赖库

对接钉钉审批_还在手打消息,流程审批?看看这款工具

添加成昆

对接钉钉审批_还在手打消息,流程审批?看看这款工具

发送消息

对接钉钉审批_还在手打消息,流程审批?看看这款工具

发送链接消息

更多内容查看代码:https://download.csdn.net/download/u011643716/12755986

https://download.csdn.net/download/u011643716/12819409