egg-wechat
Install
$ npm i egg-wechat --save
Usage
// {app_root}/config/plugin.jsexportswechat = enable: true package: 'egg-wechat';
Configuration
// {app_root}/config/config.default.jsexportswechat = 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.