17 Star 106 Fork 51

snowheart / dingtalk-robot

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

dingtalk-robot

一个用Java打造的方便钉钉群机器人推送消息的轮子,其实并没有多大的创新,只是把我们常用的一些场景给集成封装了下。设计的时候参考了下面几个开源项目的设计思路

API文档

贡献者列表

  • Alex Hu

HelloWorld

starter工程仅依赖SpringBoot的spring-boot-autoconfigurespring-boot-starter-web模块,使用方法同样简单。

1.在pom文件中引入依赖,当前版本1.0.3.RELEASE

<dependency>
   <groupId>cn.snowheart</groupId>
   <artifactId>spring-boot-dingtalk-robot-starter</artifactId>
   <version>${dingtalk-robot-version}</version>
</dependency>

2.在application.properties中配置钉钉机器人的WebHook地址

dingtalk.robot.access-token=7eb0673858d5b8636cc4189a708517478d3444f25fe887aef73c7bf99756127f

3.在应用中注入DingTalkRobotClient之后,即可启动调用钉钉机器人的WebHook服务了。

@Autowired
private DingTalkRobotClient dingTalkRobotClient;

TODO List

  1. 补充完善使用手册及API文档
  2. 支持通过配置方式创建多个DingTalkRobotClient
  3. 完善Demo模块程序,做一个可视化页面 ...

Note

如果你发现了程序BUG或者有其他好的建议,可以通过发邮件[sxjwzxlwx@yeah.net]或者Issues的方式联系我,不胜感激。

请以1.0.2.RELEASE版本起使用,1.0.1.RELEASE及之前版本存在引用依赖问题,无法使用。

MIT License Copyright (c) 2019 Wanxiang Liu. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

一个用Java打造的方便钉钉群机器人推送消息的轮子 展开 收起
Java
MIT
取消

发行版 (3)

全部

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/snowheart/dingtalk-robot.git
git@gitee.com:snowheart/dingtalk-robot.git
snowheart
dingtalk-robot
dingtalk-robot
master

搜索帮助