From 71a44f4588b6839da90dca8085ef9ea16d76dbcd Mon Sep 17 00:00:00 2001 From: wanglf3 Date: Thu, 29 Feb 2024 13:26:39 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=B7=BB=E5=8A=A0=E8=8E=B7=E5=8F=96=E7=83=AD?= =?UTF-8?q?=E9=97=A8=E5=9F=8E=E5=B8=82=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../application/out/LocationController.java | 28 ------------------- 1 file changed, 28 deletions(-) diff --git a/src/main/java/com/chint/application/out/LocationController.java b/src/main/java/com/chint/application/out/LocationController.java index 57937020..cd960083 100644 --- a/src/main/java/com/chint/application/out/LocationController.java +++ b/src/main/java/com/chint/application/out/LocationController.java @@ -62,31 +62,6 @@ public class LocationController { return Result.Success(SUCCESS, locationRes); } -// @ApiOperation("获取热门城市") -// @PostMapping("/getHotCities") -// public Result> getHotCities() { -// List city = new ArrayList<>(); -// city.add("上海"); -// city.add("北京"); -// city.add("广州"); -// city.add("深圳"); -// city.add("天津"); -// city.add("重庆"); -// city.add("苏州"); -// city.add("武汉"); -// city.add("成都"); -// city.add("杭州"); -// city.add("温州"); -// HashMap cityMap = HotCityTag.cityMap; -// Collection hotCity = cityMap.values(); -// List list = new ArrayList<>(hotCity); -// return Result.Success(SUCCESS, locationRepository.findHotCitiesByCityName(city)); -// -// -//// return Result.Success(SUCCESS, locationRepository.findHotCitiesByCityName(cityMap.values())); -// -// } - @ApiOperation("获取热门城市") @PostMapping("/getHotCities") public Result> getHotCities() { @@ -104,8 +79,5 @@ public class LocationController { } return Result.Success(SUCCESS, locationRes); - -// return Result.Success(SUCCESS, locationRepository.findHotCitiesByCityName(cityMap.values())); - } } \ No newline at end of file