指令打印
查看技术文档 重置为默认值
请求参数
请求数据
public void testCloudPrintCommand() throws Exception{ PrintReq printReq = new PrintReq(); CloudPrintCommandParam cloudPrintCommandParam = new CloudPrintCommandParam(); cloudPrintCommandParam.setContent(""); cloudPrintCommandParam.setSiid(""); String t = System.currentTimeMillis() + ""; String param = new Gson().toJson(cloudPrintCommandParam); printReq.setKey(key); printReq.setMethod(ApiInfoConstant.CLOUD_PRINT_COMMAND); printReq.setT(t); printReq.setSign(SignUtils.printSign(param,t,key,secret)); printReq.setParam(param); IBaseClient cloudPrintOld = new CloudPrintCommand(); System.out.println(cloudPrintOld.execute(printReq)); }