Commit 24c99f6c4b333d7379596bb734099b7c89b6e1d4
1 parent
9d8e0540
update...
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/data/gpsdata/thread/GpsDataLoaderThread.java
| ... | ... | @@ -155,7 +155,7 @@ public class GpsDataLoaderThread extends Thread { |
| 155 | 155 | |
| 156 | 156 | try { |
| 157 | 157 | httpClient = HttpClients.createDefault(); |
| 158 | - HttpGet get = new HttpGet(url); | |
| 158 | + HttpGet get = new HttpGet(clientUrl); | |
| 159 | 159 | //超时时间 |
| 160 | 160 | RequestConfig requestConfig = RequestConfig.custom() |
| 161 | 161 | .setConnectTimeout(2000).setConnectionRequestTimeout(1000) | ... | ... |