...
|
...
|
@@ -145,14 +145,41 @@ public class HttpsUtils { |
|
|
// 测试是否有效
|
|
|
// public static void main(String[] args) {
|
|
|
// // 接口地址
|
|
|
// String requestUrl = "http://123.56.159.203:8023/mtfmset/allWMadd";
|
|
|
// String requestUrl = "http://localhost:8080/manifest/f5f5669bbdecefd3dacfaba194647c35";
|
|
|
// try {
|
|
|
//
|
|
|
// String url = "http://123.56.159.203:8023/nowwmrd/getSelectNowwmrdbyProjectID";
|
|
|
// Map<String, Object> datas = new HashMap<>();
|
|
|
// datas.put("ProjectID", "33-99-00-00-00-00-01");
|
|
|
// List list = new ArrayList<>();
|
|
|
// datas.put("de_size", "dcdf38d9a5d6411985e49155481882f5");
|
|
|
// datas.put("waybillnomaster", "66611111111");
|
|
|
// datas.put("de_type", "001");
|
|
|
// datas.put("delivery_station", "001");
|
|
|
// datas.put("flightno", "CA9999");
|
|
|
// datas.put("flightdate", "2019-9-21 00:00:00");
|
|
|
// datas.put("originatingstation", "CGO");
|
|
|
// datas.put("destinationstation", "CGO");
|
|
|
// datas.put("totalpiece", "19");
|
|
|
// datas.put("totalweight", "19");
|
|
|
// datas.put("paymode", "PP");
|
|
|
// datas.put("customsstatus", "001");
|
|
|
// datas.put("customscode", "4604");
|
|
|
// datas.put("productname", "SHOUJI");
|
|
|
// datas.put("co_company", "测试");
|
|
|
// datas.put("co_address", "测试");
|
|
|
// datas.put("co_telephone", "00000000");
|
|
|
// datas.put("co_country", "CN");
|
|
|
// datas.put("sh_company", "测试");
|
|
|
// datas.put("sh_address", "测试");
|
|
|
// datas.put("sh_country", "CN");
|
|
|
// datas.put("sh_telephone", "0000000");
|
|
|
// datas.put("sh_city", "测试");
|
|
|
// datas.put("USER_ID", "1");
|
|
|
// datas.put("reach_station", "CGO");
|
|
|
// datas.put("de_volume", "000100003_MMM");
|
|
|
// datas.put("de_trstation", "APL,111");
|
|
|
//
|
|
|
// String param ="waybillnomaster=666-11111111&de_volume=66611111111_MMM&de_type=001&delivery_station=001&flightno=CV9765&flightdate=2019-12-20&originatingstation=CGO&destinationstation=ORD&totalpiece=1&totalweight=136.00&paymode=PP&customsstatus=001&customscode=4604&productname=CONSOL&co_company=DSV+AIR+%26+SEA+CO.%2c+LTD&co_address=8%269F%2c+RAFFLES+CITY+CHANGNING+OFFI.+TOWER+3%2c+NO.+1193+CHANGNING+RDSHANG&co_zipcode=200051&shpcusid=&shpaeo=&co_telephone=%2b86+21+33259800&co_country=CN&sh_company=ORD-DSV+AIR++SEA+INC&sh_address=1300+N+ARLINGTON+HEIGHTS+ROAD+SUITE+US&sh_zipcode=60143&cnecusid=&cneaeo=&sh_country=US&sh_telephone=8479568855&sh_fax=&sh_city=CHICAGO&USER_ID=1640&reach_station=ORD&de_trstation=BDX%2c111&de_packing=BDX%2c222&de_remarks=BDX%2c333&de_size=dcdf38d9a5d6411985e49155481882f5";
|
|
|
// String ss = HttpsUtils.sendPostHttpRequest(requestUrl, param);
|
|
|
// JSONArray jsonArray = JSON.parseArray(ss);
|
|
|
// } catch (Exception e) {
|
|
|
// e.printStackTrace();
|
|
|
// }
|
...
|
...
|
|