1.0.6 • Published 7 years ago

egg-wechat v1.0.6

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

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