Nature's Particle Manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

egg-wechat

1.0.6 • Public • Published

egg-wechat

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

Install

$ npm i egg-wechat --save

Usage

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

Configuration

// {app_root}/config/config.default.js
exports.wechat = {
  appid: '',
  appsecret: '',
  token: '',
  encodingAESKey: '',
  pay: {
    partnerKey: '',
    mchId: '',
    notifyUrl: '',
    pfx: ''
  },
};

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

Example

Questions & Suggestions

Please open an issue here.

License

MIT

install

npm i egg-wechat

Downloadsweekly downloads

1

version

1.0.6

license

MIT

repository

githubgithub

last publish

collaborators

  • avatar