| | |
| | | public AjaxResult handleControlRequest( |
| | | @RequestParam String boxSn, |
| | | @RequestParam String type, |
| | | @RequestParam boolean approve) { |
| | | return AjaxResult.success(uavControlService.handleControlResponse(boxSn, approve, type)); |
| | | @RequestParam boolean approve, |
| | | @RequestParam Long requesterId |
| | | ) { |
| | | return AjaxResult.success(uavControlService.handleControlResponse(boxSn, approve, type, requesterId)); |
| | | } |
| | | |
| | | /** |
| | |
| | | public AjaxResult getCurrentController(@RequestParam String boxSn, @RequestParam String type) { |
| | | return AjaxResult.success(uavControlService.getCurrentController(boxSn, type)); |
| | | } |
| | | |
| | | /** |
| | | * 获取全部类型当前控制者 |
| | | */ |