无关风月
2025-06-20 a9541d7a0ea793e6494b83f4517f13cf2cb64c85
ruoyi-admin/src/main/java/com/ruoyi/web/util/AmapApiClient.java
@@ -11,7 +11,7 @@
    private static final OkHttpClient client = new OkHttpClient();
    public static String getDrivingRoute(double startLat, double startLon, double endLat, double endLon) throws IOException {
        String url = "https://restapi.amap.com/v3/direction/walking?" +
        String url = "https://restapi.amap.com/v3/direction/driving?" +
                "origin=" + startLon + "," + startLat +
                "&destination=" + endLon + "," + endLat +
                "&key=" + KEY;