Skip to content

leoskey/wechat-access-token

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeChat Access Token

Build Status

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

Releases

No releases published

Packages

No packages published