| | |
| | | import com.panzhihua.common.model.vos.LoginUserInfoVO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.community.ComActVO; |
| | | import com.panzhihua.common.model.vos.grid.EventGridDataAreaVO; |
| | | import com.panzhihua.common.utlis.ClazzUtils; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | R actList(){ |
| | | return gridService.actList(); |
| | | } |
| | | |
| | | /** |
| | | * 查询距离当前事件最近的网格数据 |
| | | * @param pageEventGridNearbyDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/grid/nearby") |
| | | @ApiOperation(value = "查询经纬度所在的网格", response = EventGridDataAreaVO.class) |
| | | R getNearByGrid(@Validated @RequestBody PageEventGridNearbyDTO pageEventGridNearbyDTO){ |
| | | return gridService.getNearByGrid(pageEventGridNearbyDTO); |
| | | } |
| | | |
| | | } |