egg-wechat-mini
v1.0.17
Published
wx miniprogram dev
Downloads
11
Readme
egg-wechat-mini
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.