Egg Dingtalk Save

egg plugin for dingtalk

Project README

egg-dingtalk

NPM version build status Test coverage David deps Known Vulnerabilities npm download

egg plugin for dingtalk

Install

$ npm i egg-dingtalk --save

Usage

// {app_root}/config/plugin.js
exports.dingtalk = {
  enable: true,
  package: 'egg-dingtalk',
};

// {app_root}/app/controller/test.js
exports.list = async ctx => {
  ctx.body = await ctx.dingtalk.user.list('1', true);
};

Configuration

// {app_root}/config/config.default.js
exports.dingtalk = {
  corpid: '',
  corpsecret: '',
  host: '',
  enableContextLogger: '',
};

Feature

Questions & Suggestions

Please open an issue here.

License

MIT

Open Source Agenda is not affiliated with "Egg Dingtalk" Project. README Source: eggjs/egg-dingtalk
Stars
30
Open Issues
1
Last Commit
4 years ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating