Commit 6e7f6baebca3a1d9fdc08debca052d1420bf1aa9

Authored by 王通
1 parent bc7b3ea3

1.安全驾驶接口变更

src/main/java/com/bsth/data/safe_driv/SafeDrivDataLoadThread.java
@@ -33,7 +33,7 @@ public class SafeDrivDataLoadThread extends Thread { @@ -33,7 +33,7 @@ public class SafeDrivDataLoadThread extends Thread {
33 static BufferedReader br; 33 static BufferedReader br;
34 34
35 static { 35 static {
36 - url = "http://211.95.61.661:9007/bsth-safedriving/Crlcxb/realtimeInterface.do"; 36 + url = "http://211.95.61.66:9007/bsth-safedriving/Crlcxb/realtimeInterface.do";
37 httpClient = HttpClients.createDefault(); 37 httpClient = HttpClients.createDefault();
38 get = new HttpGet(url); 38 get = new HttpGet(url);
39 requestConfig = RequestConfig.custom() 39 requestConfig = RequestConfig.custom()
@@ -73,7 +73,7 @@ public class SafeDrivDataLoadThread extends Thread { @@ -73,7 +73,7 @@ public class SafeDrivDataLoadThread extends Thread {
73 if (null != response) 73 if (null != response)
74 response.close(); 74 response.close();
75 } catch (Exception e) { 75 } catch (Exception e) {
76 - logger.error("安全驾驶接口报错了", e.getMessage()); 76 + logger.error("安全驾驶接口报错了", e);
77 } 77 }
78 } 78 }
79 } 79 }