|
@@ -7,13 +7,19 @@
|
|
|
- [钉钉官方JavaSDK 0.9.0](https://download.alicdn.com/dingtalk-desktop/sdk/dingtalk-chatbot-sdk-0.9.0.zip)
|
|
- [钉钉官方JavaSDK 0.9.0](https://download.alicdn.com/dingtalk-desktop/sdk/dingtalk-chatbot-sdk-0.9.0.zip)
|
|
|
|
|
|
|
|
### API文档
|
|
### API文档
|
|
|
-- [钉钉官方Wiki文档](https://open-doc.dingtalk.com/docs/doc.htm?spm=a219a.7629140.0.0.7b1HKw&treeId=257&articleId=105735&docType=1)
|
|
|
|
|
|
|
+- [钉钉官方Wiki文档](https://ding-doc.dingtalk.com/doc#/serverapi2/qf2nxq)
|
|
|
- [本程序API文档,待继续完善](https://apidoc.gitee.com/snowheart/dingtalk-robot/)
|
|
- [本程序API文档,待继续完善](https://apidoc.gitee.com/snowheart/dingtalk-robot/)
|
|
|
|
|
|
|
|
|
|
+### 贡献者列表
|
|
|
|
|
+
|
|
|
|
|
+- Alex Hu
|
|
|
|
|
+
|
|
|
### HelloWorld
|
|
### HelloWorld
|
|
|
|
|
+
|
|
|
starter工程仅依赖SpringBoot的`spring-boot-autoconfigure`和`spring-boot-starter-web`模块,使用方法同样简单。
|
|
starter工程仅依赖SpringBoot的`spring-boot-autoconfigure`和`spring-boot-starter-web`模块,使用方法同样简单。
|
|
|
|
|
|
|
|
-1.在pom文件中引入依赖,当前版本`1.0.2.RELEASE`
|
|
|
|
|
|
|
+1.在pom文件中引入依赖,当前版本`1.0.3.RELEASE`
|
|
|
|
|
+
|
|
|
```
|
|
```
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>cn.snowheart</groupId>
|
|
<groupId>cn.snowheart</groupId>
|
|
@@ -24,10 +30,11 @@ starter工程仅依赖SpringBoot的`spring-boot-autoconfigure`和`spring-boot-st
|
|
|
|
|
|
|
|
2.在application.properties中配置钉钉机器人的WebHook地址
|
|
2.在application.properties中配置钉钉机器人的WebHook地址
|
|
|
```
|
|
```
|
|
|
-dingtalk.robot.webhook=https://oapi.dingtalk.com/robot/send?access_token=7eb0673858d5b8636cc4189a708517478d3444f25fe887aef73c7bf99756127f
|
|
|
|
|
|
|
+dingtalk.robot.access-token=7eb0673858d5b8636cc4189a708517478d3444f25fe887aef73c7bf99756127f
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
3.在应用中注入`DingTalkRobotClient`之后,即可启动调用钉钉机器人的WebHook服务了。
|
|
3.在应用中注入`DingTalkRobotClient`之后,即可启动调用钉钉机器人的WebHook服务了。
|
|
|
|
|
+
|
|
|
```
|
|
```
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private DingTalkRobotClient dingTalkRobotClient;
|
|
private DingTalkRobotClient dingTalkRobotClient;
|