feat: add components
This commit is contained in:
11
components/component-dingtalkrobot.js
Normal file
11
components/component-dingtalkrobot.js
Normal file
@@ -0,0 +1,11 @@
|
||||
(() => {
|
||||
var dingtalkrobot = require('component-dingtalkrobot-ex.js');
|
||||
|
||||
sendDingTalkRobotTextMessage = (token, message) => {
|
||||
return dingtalkrobot.sendText(token, message);
|
||||
};
|
||||
|
||||
sendDingTalkRobotTextMessageDefault = (message) => {
|
||||
return dingtalkrobot.sendTextDefault(message);
|
||||
};
|
||||
})();
|
||||
Reference in New Issue
Block a user