egg-dingtalk-robot
Install
npm install egg-dingtalk-robot --save
Getting Started
// {app_root}/config/plugin.jsexportsdingtalkRobot = enable: true package: 'egg-dingtalk-robot'; // {app_root}/config/config.default.jsexportsdingtalkRobot = // 机器人的accessToken accessToken: ''; // {app_root}/app/router.jsapp;
API
appdingtalkRobot - send textappdingtalkRobot - send text at mobilesappdingtalkRobot - send text at allappdingtalkRobot - send linkappdingtalkRobot - send markdownappdingtalkRobot - send raw
More Information
Multi Robots
// {app_root}/config/config.default.jsexportsdingtalkRobot = robots: testRobot1: name: '测试一号' accessToken: '' testRobot2: name: '测试二号' accessToken: '' ; app;app;
How to Contribute
Please let us know what we can help, check issues for bug reporting and suggestion.