| | |
| | | package com.flightfeather.uav.lightshare.web |
| | | |
| | | import com.flightfeather.uav.domain.entity.GridCell |
| | | import com.flightfeather.uav.lightshare.bean.AreaVo |
| | | import com.flightfeather.uav.lightshare.service.SceneService |
| | | import io.swagger.annotations.Api |
| | |
| | | @RequestParam("lat") lat: Double, |
| | | @RequestParam("radius") radius: Double, |
| | | ) = resPack { sceneService.searchByCoordinate(lng, lat, radius) } |
| | | |
| | | @ApiOperation(value = "根据卫星网格找到范围内的场景") |
| | | @PostMapping("/find/grid") |
| | | fun searchByGrid( |
| | | @RequestBody gridCell: GridCell, |
| | | ) = resPack { sceneService.searchByGrid(gridCell) } |
| | | } |