egg-wechat-mini

1.0.17 • Public • Published

egg-wechat-mini

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

Install

$ npm i egg-wechat-mini --save

Usage

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

Configuration

// {app_root}/config/config.default.js
exports.wechatMini = {
};

see config/config.default.js for more detail.

Example

// Direct call like this
app.weChatMini.code2Session(code)

see lib/createClient.js for more funs.

Questions & Suggestions

Please open an issue here.

License

MIT

Package Sidebar

Install

npm i egg-wechat-mini

Weekly Downloads

0

Version

1.0.17

License

MIT

Unpacked Size

11.1 kB

Total Files

7

Last publish

Collaborators

  • wxbing