| | |
| | | |
| | | import com.ard.common.utils.poi.ExcelUtil; |
| | | import com.ard.oss.model.MinioUploadResult; |
| | | import com.ard.route.domain.dto.ArdNoflyDto; |
| | | import com.ard.route.domain.route.ArdRouteInfo; |
| | | import com.ard.route.service.IArdRouteInfoService; |
| | | import io.swagger.annotations.Api; |
| | |
| | | * 判断行点是否在禁飞区 |
| | | */ |
| | | @ApiOperation("判断行点是否在禁飞区") |
| | | @GetMapping("/noFly/{longitude}/{latitude}") |
| | | public Boolean noFly(@PathVariable("longitude") Double longitude, |
| | | @PathVariable("latitude") Double latitude) { |
| | | return ardRouteInfoService.selectRouteInfomationNoFly(longitude,latitude); |
| | | @PostMapping("/noFly") |
| | | public Boolean noFly(@RequestBody ArdNoflyDto ardNoflyDto) { |
| | | return ardRouteInfoService.selectRouteInfomationNoFly(ardNoflyDto); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | // @ApiOperation("上传航线到边缘服务器") |
| | | // @PostMapping |
| | | // public AjaxResult uploadRouteInformation(@RequestBody ArdRouteInfor ArdRouteInfor) { |
| | | // public AjaxResult uploadRouteInformation(@RequestBody ArdRouteInfo ArdRouteInfor) { |
| | | // return success(ardRouteInfoService.selectArdRouteInforByName(ArdRouteInfor.getName())); |
| | | // } |
| | | |