|
|
@@ -523,11 +523,11 @@ public class MobileController extends Controller{
|
|
|
String location = latitude+","+longitude;
|
|
|
String key = "HTABZ-CBHRQ-WXT5C-BWAGZ-ARXY3-QMB5N";
|
|
|
String url = "https://apis.map.qq.com/ws/geocoder/v1/?location="+location+"&key="+key+"&get_poi=0";
|
|
|
- System.out.println(url);
|
|
|
+
|
|
|
String xmlStr = HttpKit.get(url);
|
|
|
JSONObject parseObject = JSONObject.parseObject(xmlStr);
|
|
|
String message = parseObject.getString("message");
|
|
|
-
|
|
|
+ System.out.println(parseObject);
|
|
|
if("Success".equals(message)){
|
|
|
JSONObject result = parseObject.getJSONObject("result");
|
|
|
JSONObject adInfo = result.getJSONObject("ad_info");
|