发货单打印

请求参数

param

tab0:自定义表格数据

img0:图片数据

settings:配置项

请求数据
public void testCloudPrintParcelsBill() throws Exception { CloudPrintParcelsBillReq cloudPrintParcelsBillReq = new CloudPrintParcelsBillReq(); cloudPrintParcelsBillReq.setCallBackUrl("http://www.baidu.com"); cloudPrintParcelsBillReq.setTempid("164509714515858026"); cloudPrintParcelsBillReq.setSiid(siid); String t = System.currentTimeMillis() + ""; String param = new Gson().toJson(cloudPrintParcelsBillReq); PrintReq printReq = new PrintReq(); printReq.setKey(key); printReq.setMethod(ApiInfoConstant.BILL_PARCELS_METHOD); printReq.setSign(SignUtils.printSign(param,t,key,secret)); printReq.setT(t); printReq.setParam(param); IBaseClient parcelsBill = new CloudPrintParcelsBill(); System.out.println(parcelsBill.execute(printReq)); }