Cui Zhi Feng
2024-10-20 cf918aa0dfd432466f5f1f8bb067d5b836ef343c
解析经纬度 null
已修改1个文件
2 ■■■ 文件已修改
src/main/java/com/mzl/flower/web/customer/HomeCustomerController.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/mzl/flower/web/customer/HomeCustomerController.java
@@ -51,7 +51,7 @@
        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);
    }
}