koahub-yilianyun
v1.0.2
Published
微信易联云打印机接口
Downloads
7
Maintainers
Readme
koahub-yilianyun易联云打印机node接口
Installation
$ npm install koahub-yilianyun
Use with co-request
var printer = require('koahub-yilianyun');
var result = yield printer({
"partner": 914,//用户id(管理中心系统集成里获取)
"apikey": "3785b31b2c84f3c47e51a6c4481f8a5fc2eea72a",//apikey(管理中心系统集成里获取)
"machine_code": "3400453726",//打印机终端号
"msign": "gn5p5zk585b6",//打印机终端密钥
"time": parseInt(new Date().getTime() / 1000),//当前时间戳(服务器用于验证超时)
"content": '2222'//需要传输打印的内容数据
});
KoaHub.js -- 基于 Koa.js 平台的 Node.js web 快速开发框架