Commit 241074f5 by 谢海旭

bug修复

1 parent 4d088aba
...@@ -33,7 +33,7 @@ public class ApiRegionSearchController { ...@@ -33,7 +33,7 @@ public class ApiRegionSearchController {
StringBuilder urlBuilder = new StringBuilder(BAIDU_MAP_API_URL); StringBuilder urlBuilder = new StringBuilder(BAIDU_MAP_API_URL);
for (Map.Entry<String, String> entry : allParams.entrySet()) { for (Map.Entry<String, String> entry : allParams.entrySet()) {
urlBuilder.append(entry.getKey()).append("=").append(URLEncoder.encode(entry.getValue(), StandardCharsets.UTF_8.name())); urlBuilder.append(entry.getKey()).append("=").append(URLEncoder.encode(entry.getValue(), StandardCharsets.UTF_8.name())).append("&");
} }
HttpGet request = new HttpGet(urlBuilder.toString()); HttpGet request = new HttpGet(urlBuilder.toString());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!