wechat-access-token-proxy
v1.0.0
Published
微信 accessToken 中控。
Downloads
2
Readme
WeChat Access Token
Quick Start
const client = new WechatAccessToken({ redis: 'redis://:@127.0.0.1:6379' });
const result1 = client.getAccessToken({ appID: '', appSecret: ''});
const result2 = client.getAccessToken({ appID: '', appSecret: ''});
const result3 = client.getAccessToken({ appID: '', appSecret: ''});
Promise
.all([result1, result2, result3])
.then(values => {
console.log(values);
})
.catch(error => {
console.log(error);
});
License
Apache 2.0