| | |
| | | String requestPath = "https://apis.map.qq.com/ws/geocoder/v1/?key=GSBBZ-CJA3U-NNDVH-GE65N-6FIF6-ZGBCU&get_poi=1&location="; |
| | | String pp = URLEncoder.encode(location, "utf-8"); |
| | | requestPath += pp; |
| | | JSONObject json = HttpUtil.doRequest(HttpMethod.GET.name(), requestPath, "json", new HashMap<>(), null, new HashMap<>(), new HashMap<>()); |
| | | JSONObject json = HttpUtil.doRequest(HttpMethod.GET.name(), requestPath, "json", new HashMap<>(), new HashMap<>(), new HashMap<>(), new HashMap<>()); |
| | | return returnData(R.SUCCESS.getCode(), json); |
| | | } |
| | | } |