快递可用性

请求参数

param

请求数据
public void testBorderOfficial() throws Exception { PrintReq printReq = new PrintReq(); BOrderReq bOrderReq = new BOrderReq(); bOrderReq.setKuaidiComs(CompanyConstant.JD); bOrderReq.setSendManName("张三"); bOrderReq.setSendManMobile("13012312345"); bOrderReq.setSendManPrintAddr("深圳市南山区金蝶软件园"); bOrderReq.setRecManName("李四"); bOrderReq.setRecManMobile("13812312345"); bOrderReq.setRecManPrintAddr("北京市海淀区长春桥路"); String t = String.valueOf(System.currentTimeMillis()); String param = new Gson().toJson(bOrderReq); printReq.setKey(key); printReq.setSign(SignUtils.printSign(param,t,key,secret)); printReq.setT(t); printReq.setParam(param); printReq.setMethod(ApiInfoConstant.B_ORDER_OFFICIAL_ORDER_METHOD); System.out.println(printReq); IBaseClient bOrder = new BOrderOfficial(); System.out.println(bOrder.execute(printReq)); }