多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## 获取机型打印宽度接口 请求地址:`https://open-api.10ss.net/printer/printinfo` 请求方式:POST ### 所需参数 |名 称|类 型|描 述| |----|----|----| |client_id|string|开发者的应用ID,在[开放平台](https://dev.10ss.net)创建应用时获得| |access_token|string|授权的token 必要参数| |machine_code|string|易联云打印机终端号| |sign|string|签名 详见API文档列表-[接口签名](../apiprotocol.md)| |id|string|UUID4 详见API文档列表-[uuid4](../apiprotocol.md)| |timestamp|int|当前服务器时间戳(10位)| ### 返回详情 ~~~ {"error":"0","error_description":"success","body":{"version":"机型","print_width":"??mm"}} {"error":"8","error_description":"打印机信息错误,参数有误"} {"error":"10","error_description":"权限不足"} {"error":"11","error_description":"sign验证失败"} {"error":"12","error_description":"缺少必要参数"} {"error":"18","error_description":"access_token已过期,请刷新access_token或者重新授权"} {"error":"19","error_description":"应用未上架或已下架"} {"error":"23","error_description":"获取机型和打印宽度失败"} {'error':'33', 'error_description':'Uuid不合法'} ~~~