| | |
| | | } |
| | | |
| | | @PostMapping("/base/protocol/storeDetail/nearbyStore") |
| | | public List<StoreInfo> getAllNearbyStoreList(@RequestBody String longitude,@RequestBody String latitude){ |
| | | public List<StoreInfo> getAllNearbyStoreList(@RequestParam("longitude") String longitude, @RequestParam("latitude") String latitude){ |
| | | String current = longitude+","+latitude; |
| | | List<StoreInfo> storeInfos = new ArrayList<>(); |
| | | String cityCode = ""; |
| | |
| | | |
| | | |
| | | @PostMapping("/base/protocol/storeDetail/storeOfLonLat") |
| | | public List<StoreLonLatList> getAllStoreLonLats(@RequestBody String longitude, @RequestBody String latitude){ |
| | | public List<StoreLonLatList> getAllStoreLonLats(@RequestParam("longitude") String longitude, @RequestParam("latitude") String latitude){ |
| | | List<StoreLonLatList> storeInfos = new ArrayList<>(); |
| | | try { |
| | | Map<String, String> geocode = gdMapGeocodingUtil.geocode(longitude, latitude); |