| | |
| | | public R placeDoorBindHandle() { |
| | | return R.data(placeService.placeDoorBindHandle()); |
| | | } |
| | | |
| | | |
| | | // 查询附近1公里的场所列表 |
| | | @GetMapping("/getNearbyPlaceList") |
| | | public R getNearbyPlaceList(@RequestParam("lat") String lat, @RequestParam("lng") String lng) { |
| | | return R.data(placeService.getNearbyPlaceList(lat, lng)); |
| | | } |
| | | |
| | | /** |
| | | * 更新场所的POI标签颜色 |
| | | * @param placeId |
| | | * @param color |
| | | * @return |
| | | */ |
| | | @GetMapping("/updatePoiLabelColor") |
| | | public R updatePoiLabelColor(@RequestParam("placeId") Long placeId, @RequestParam("color") String color) { |
| | | return R.data(placeService.updatePoiLabelColor(placeId, color)); |
| | | } |
| | | } |