From 85d8efdb96a9b4900dbceef524a29690e13b7800 Mon Sep 17 00:00:00 2001 From: zhibing.pu <393733352@qq.com> Date: 星期五, 28 六月 2024 09:39:06 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- UserZYTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/MinistryOfTransport.java | 224 ++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 192 insertions(+), 32 deletions(-) diff --git a/UserZYTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/MinistryOfTransport.java b/UserZYTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/MinistryOfTransport.java index 8ccf543..2b11e05 100644 --- a/UserZYTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/MinistryOfTransport.java +++ b/UserZYTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/util/MinistryOfTransport.java @@ -61,7 +61,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -84,7 +89,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -112,7 +122,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -145,7 +160,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -175,7 +195,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -221,7 +246,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -276,7 +306,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -305,7 +340,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -330,7 +370,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -390,7 +435,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -419,7 +469,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -448,7 +503,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -476,7 +536,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -503,7 +568,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -535,7 +605,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -563,7 +638,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -590,7 +670,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -615,7 +700,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -640,7 +730,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -669,7 +764,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -695,7 +795,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -752,7 +857,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -783,7 +893,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -816,7 +931,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -841,7 +961,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -864,7 +989,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -886,7 +1016,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -909,7 +1044,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -938,7 +1078,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -972,7 +1117,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -1005,7 +1155,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } @@ -1057,7 +1212,12 @@ data.put("Source", Source); data.put("IPCType", IPCType); data.put("baseInfoCompany", jsonObject); - String s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json"); + String s = null; + try { + s = httpClientUtil.pushHttpRequset("POST", path, data, null, "json").getData(); + } catch (Exception e) { + e.printStackTrace(); + } System.err.println(s); } } -- Gitblit v1.7.1