Commit 5b0120e1b352267577fad6007f70bd29d1bc2301

Authored by 廖磊
1 parent 5b794987

安全驾驶数据获取地址修改

src/main/java/com/bsth/server_rs/bigdata/BigdateService.java
@@ -933,7 +933,7 @@ public class BigdateService { @@ -933,7 +933,7 @@ public class BigdateService {
933 @Path("/safedriving/starDate/{starDate}/endDate/{endDate}/line/{line}") 933 @Path("/safedriving/starDate/{starDate}/endDate/{endDate}/line/{line}")
934 public List<Map<String, Object>> findSafedrivingByLine(@PathParam("starDate") String starDate, 934 public List<Map<String, Object>> findSafedrivingByLine(@PathParam("starDate") String starDate,
935 @PathParam("endDate") String endDate,@PathParam("line") String line) { 935 @PathParam("endDate") String endDate,@PathParam("line") String line) {
936 - String accidentAll= GetHttpInterface.getHttpInterface("http://180.166.5.82:9006/safedriving/safedrivingInterface?StarTime="+starDate+"&EndTime="+endDate 936 + String accidentAll= GetHttpInterface.getHttpInterface("http://211.95.61.66:9006/safedriving/safedrivingInterface?StarTime="+starDate+"&EndTime="+endDate
937 +"&LineId="+line); 937 +"&LineId="+line);
938 List<Map<String, Object>> list=(List<Map<String, Object>>) JSONObject.parse(accidentAll); 938 List<Map<String, Object>> list=(List<Map<String, Object>>) JSONObject.parse(accidentAll);
939 return list; 939 return list;