自定义打印

请求参数

param

打印类型
打印方向(默认0)

自定义参数

参数名参数值操作
请求数据
public void testPrintCloud() throws Exception{ PrintCloudParam printCloudParam = new PrintCloudParam(); printCloudParam.setTempId("61bf58a3c66fb00013a1b084"); printCloudParam.setPrintType("IMAGE"); String param = new Gson().toJson(printCloudParam); String t = System.currentTimeMillis() + ""; PrintReq printReq = new PrintReq(); printReq.setT(t); printReq.setKey(key); printReq.setMethod(ApiInfoConstant.ELECTRONIC_CUSTOM_PRINT_METHOD); printReq.setSign(SignUtils.printSign(param,t,key,secret)); printReq.setParam(param); IBaseClient baseClient = new PrintCloud(); System.out.println(baseClient.execute(printReq)); }