egg-jpush-async
Install
目前只有推送全部用户。其实写完之后,发现没有这必要,直接用官方 jpush-api-nodejs-client 的就够了!
$ npm i egg-jpush-async --save
Usage
// {app_root}/config/plugin.jsexportsjpushAsync = enable: true package: 'egg-jpush-async';
Configuration
// {app_root}/config/config.default.jsexportsjpushAsync = enable: true app: true isDebug: true appName: '123' appKey: '123' masterSecret: '123';
see config/config.default.js for more detail.
Example
await appjpushAsync
Questions & Suggestions
Please open an issue here.