Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

ltc-h5-qz

0.0.5 • Public • Published

ltc-h5-qz

h5 qz sdk

How to use

var qz = require('ltc-h5-qz');
// pf 默认是qzone, 支持qqgame
qz.init(appid, appkey, pf = 'qzone');
 
// 超时时长为5s
// err.code = ETIMEDOUT / EPARSED(转JSON失败)
qz.getUserInfo(openid, openkey, function(err, json) {
});
 
// 签名检测, 用于openApi的回调接口
qz.checkSign(pathname, query);

Installation

npm install --save ltc-h5-qz

Tests

npm install
npm test

Keywords

Install

npm i ltc-h5-qz

DownloadsWeekly Downloads

3

Version

0.0.5

License

MIT

Last publish

Collaborators

  • avatar