🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## 关机重启接口 请求地址:`https://open-api.10ss.net/printer/shutdownrestart` 请求方式:POST ### 所需参数 |名 称|类 型|描 述| |----|----|----| |client_id|string|开发者的应用ID,在[开放平台](https://dev.10ss.net)创建应用时获得| |access_token|string|授权的token 必要参数| |machine_code|string|易联云打印机终端号| |response_type|string|重启:restart,关闭:shutdown| |sign|string|签名 详见API文档列表-[接口签名](../apiprotocol.md)| |id|string|UUID4 详见API文档列表-[uuid4](../apiprotocol.md)| |timestamp|int|当前服务器时间戳(10位)| ### 返回详情 ~~~ {"error":"0","error_description":"success"} {"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":"21","error_description":"关闭或重启失败"} {'error':'33', 'error_description':'Uuid不合法'} ~~~