下单价格
查看技术文档 重置为默认值
请求参数
请求数据
public void testBorderOfficialQueryPrice() throws Exception { PrintReq printReq = new PrintReq(); BOrderOfficialQueryPriceReq officialQueryPriceReq = new BOrderOfficialQueryPriceReq(); officialQueryPriceReq.setKuaidiCom("jtexpress"); officialQueryPriceReq.setSendManPrintAddr("西藏日喀则市定日县珠穆朗玛峰"); officialQueryPriceReq.setRecManPrintAddr("西藏日喀则市定日县珠穆朗玛峰"); String t = String.valueOf(System.currentTimeMillis()); String param = new Gson().toJson(officialQueryPriceReq); printReq.setKey(key); printReq.setSign(SignUtils.printSign(param,t,key,secret)); printReq.setT(t); printReq.setParam(param); printReq.setMethod(ApiInfoConstant.B_ORDER_OFFICIAL_PRICE_METHOD); IBaseClient bOrder = new BOrderOfficial(); System.out.println(bOrder.execute(printReq)); }