2.0.1 • Published 7 years ago

wxent-api-redis v2.0.1

Weekly downloads
4
License
GPL
Repository
github
Last release
7 years ago

wxent-api-redis

微信企业号API,使用Redis保存AccessToken

示例

import WxApi from 'wxent-api-redis';

const wxapi = new WxApi('corpId', 'secret', agentId, 'redis://localhost:6379');
// 返回一个'wechat-enterprise-api'的api对象
// 详见:http://doxmate.cool/node-webot/wechat-enterprise-api/api.html#api_api_common
const client = wxapi.getClient();
client.getUser(msg.FromUserName, function (err, user) {

});

CHANGELOG

v2.0

  1. 重新设计API (BREAKING CHANGE)
2.0.1

7 years ago

2.0.0

8 years ago

0.0.4

8 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago